template of angular
In Angular, a template is a fragment of HTML. We should use special syntax in a template to construct many great Angular applications. A template is a form of HTML that tells Angular how to generate the component. Views are commonly organized little by little, allowing you to change or display and hide whole UI sections or pages as a unit. The template presently associated with a component determines that component's host view. The component can also define a view order, which includes embedded views, hosted by other components.
how a template works
Data binding
data binding
Main types of data binding
There are two main types of data binding.
# 1: one way
# 2: two way