Skip to content

Commit 83fbdd1

Browse files
mernenmhevery
authored andcommitted
docs($rootScope): fix typos on $watch
1 parent 03042c5 commit 83fbdd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/rootScope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ function $RootScopeProvider(){
278278
* - `string`: Evaluated as {@link guide/expression expression}
279279
* - `function(newValue, oldValue, scope)`: called with current and previous values as parameters.
280280
*
281-
* @param {boolean=} objectEquality Compare object for equality rather then for refference.
281+
* @param {boolean=} objectEquality Compare object for equality rather than for reference.
282282
* @returns {function()} Returns a deregistration function for this listener.
283283
*/
284284
$watch: function(watchExp, listener, objectEquality) {

0 commit comments

Comments
 (0)