docs($rootScope): code example for $watch function using objectEquality