Angular provides a mechanism to share data between the same view and model easily. We can associate and assign a value in a class component and use it in the view. It provides many kinds of Data Binding. We will start by understanding the various Data Bindings available and then move on to create some examples.
Data Bindings can be grouped into three main categories:
- One-way Data Binding, that is, from data source to view.
- One-way Data Binding, that is, from view to data source.
- Two-way Data Binding, that is, from view target to data source and from data source to view.