What is the difference between one-way binding and two-way binding in AngularJS ?

devquora
devquora

Posted On: Feb 22, 2018

 

In One-Way data binding, view (UI part) not updates automatically when data model changed. We need to write custom code to make it updated every time.
ng-bind has one-way data binding.

While in two way binding scope variable will change it’s value every time its data model changed is assigned to a different value.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions