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

Technology CommunityCategory: AngularJSWhat is the difference between one-way binding and two-way binding?
VietMX Staff asked 3 years ago
  • 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