One And Two Way Binding In AngularJS

Data binding

Data binding is the synchronization process between the model and the view. Model variable is bound to a HTML element. Model and View can both change and display the value of the variable. In general, more than one HTML element is bound to the same variable. 

There are two types of data binding.
  1. One way
  2. Two way (Default)

Let’s take an example.

I am going to show one & two way data binding.

binding

HTML Part

HTML Part

Model

Model

Next Recommended Reading Bind DropDownList Using AngularJS