aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/rootScope.js
diff options
context:
space:
mode:
authorDaniel Luz2012-09-02 14:59:33 -0300
committerMisko Hevery2012-09-11 15:11:01 -0700
commit83fbdd1097e27cc50c7c7aed6463d69e66fcf8e7 (patch)
treed1a2eeca06a94678192cadc0b525d54f33437143 /src/ng/rootScope.js
parent03042c52b9b5490645501e36f9ba27177d173737 (diff)
downloadangular.js-83fbdd1097e27cc50c7c7aed6463d69e66fcf8e7.tar.bz2
docs($rootScope): fix typos on $watch
Diffstat (limited to 'src/ng/rootScope.js')
-rw-r--r--src/ng/rootScope.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/rootScope.js b/src/ng/rootScope.js
index d3597e3f..43bf6cc5 100644
--- a/src/ng/rootScope.js
+++ b/src/ng/rootScope.js
@@ -278,7 +278,7 @@ function $RootScopeProvider(){
* - `string`: Evaluated as {@link guide/expression expression}
* - `function(newValue, oldValue, scope)`: called with current and previous values as parameters.
*
- * @param {boolean=} objectEquality Compare object for equality rather then for refference.
+ * @param {boolean=} objectEquality Compare object for equality rather than for reference.
* @returns {function()} Returns a deregistration function for this listener.
*/
$watch: function(watchExp, listener, objectEquality) {