Wednesday 5 April 2017

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

– One way binding implies that the scope variable in the html will be set to the first value its model is bound to (i.e. assigned to)

– Two way binding implies that the scope variable will change it’s value everytime its model is assigned to a different value

No comments:

Post a Comment