Skip to content

Commit d6bcbc7

Browse files
davidpopebtford
authored andcommitted
docs($rootScope.Scope): link to angular.equals in Scope.$watch docs
1 parent 9d07796 commit d6bcbc7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ng/rootScope.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,8 @@ function $RootScopeProvider(){
309309
* - `function(newValue, oldValue, scope)`: called with current and previous values as
310310
* parameters.
311311
*
312-
* @param {boolean=} objectEquality Compare object for equality rather than for reference.
312+
* @param {boolean=} objectEquality Compare for object equality using {@link angular.equals} instead of
313+
* comparing for reference equality.
313314
* @returns {function()} Returns a deregistration function for this listener.
314315
*/
315316
$watch: function(watchExp, listener, objectEquality) {

0 commit comments

Comments
 (0)