aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
diff options
context:
space:
mode:
authorDaniel Luz2012-09-02 14:59:33 -0300
committerMisko Hevery2012-09-11 16:19:42 -0700
commit1d0aa7b7c615ba02bfc020717e36752945aa2e6a (patch)
treeb498865f60f03af486de53ff731ec92404151b18 /src/ng
parentafd02ca48c4a2ed61ada040572aa8d5cf3813a6f (diff)
downloadangular.js-1d0aa7b7c615ba02bfc020717e36752945aa2e6a.tar.bz2
docs($rootScope): fix typos on $watch
Diffstat (limited to 'src/ng')
-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) {