O'Reilly logo
  • Lucas Reis thinks this is interesting:

To update the field no matter how it gets updated, we want to use a $scope function called $watch(). We’ll talk about watch in detail later in this chapter. The basics are that you can call $watch() with an expression to observe and a callback that gets invoked whenever that expression changes.


Cover of AngularJS