midAngularJS
What is $watch in AngularJS?
Updated May 15, 2026
Short answer
$watch monitors scope variable changes.
Deep explanation
It executes callback when model changes.
Real-world example
Live validation in forms.
Common mistakes
- Creating too many watchers.
Follow-up questions
- What is $watchCollection?