One of the very beneficial features of AngularJS binding is two way binding. In a nut shell this means that changes done to model will be reflected in UI and changes done in UI will be reflected in Model. This helps a lot when we were are dealing with data centric applications.

Example for two way binding

In below example model ‘name’ is bound to UI using ng-model directive, each change to value in textbox in UI is bound back to model. Also you can set the name to ‘Srinivas Chekuri (Default)’ by clicking on the ‘Reset’ button. By clicking on the button you are binding the value from the Model to UI.

Demo