What is 2 way data binding in Angular Js?
Manoj Kalla
In two way data binding data flows from "Scope/Controller" to "View/Markup" and vice varsa. in Scope data gets propagated to view and data modification propagated immediately and reflected in view. In view data gets propagated to scope and data modification propagated immediately and reflected in scope. usually performed through "ng-nodel"
Two-way data binding combines the property and event binding into a single notation using the ngModel directive.We can achieve it by using following wayEx : What this is doing behind the scenes is equivalent to -Ex :
ngmodel and interpolation
Update Model when View get change and vice versa. Synchronization between the model and the view.