docs($rootScope.Scope): link to angular.equals in Scope.$watch docs
This commit is contained in:
+2
-1
@@ -309,7 +309,8 @@ function $RootScopeProvider(){
|
||||
* - `function(newValue, oldValue, scope)`: called with current and previous values as
|
||||
* parameters.
|
||||
*
|
||||
* @param {boolean=} objectEquality Compare object for equality rather than for reference.
|
||||
* @param {boolean=} objectEquality Compare for object equality using {@link angular.equals} instead of
|
||||
* comparing for reference equality.
|
||||
* @returns {function()} Returns a deregistration function for this listener.
|
||||
*/
|
||||
$watch: function(watchExp, listener, objectEquality) {
|
||||
|
||||
Reference in New Issue
Block a user