In AngularJS, __________ is used to watch for changes in scope variables and update the view accordingly.

  • $apply
  • $digest
  • $observe
  • $watch
In AngularJS, $watch is used to watch for changes in scope variables and update the view accordingly. It allows developers to track changes in model data and trigger the necessary updates in the UI. Understanding how to use $watch is crucial for building dynamic and responsive AngularJS applications.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *