angular/angular.js — pull request #9456 by ajwhite (2014-10-07 01:45:44+00:00)
Title: docs($rootScope): code example for $watch function using objectEquality

This PR improves the code example section of https://docs.angularjs.org/api/ng/type/$rootScope.Scope#$watch by providing an example of `scope.$watch` with `objectEquality` to illustrate how `scope.$watch` will not work simply as a reference watcher on object properties.

Note: first time contributor, CLA may be pending.