docs($rootScope): fix typos on $watch

This commit is contained in:
Daniel Luz 2012-09-02 14:59:33 -03:00 committed by Misko Hevery
parent 03042c52b9
commit 83fbdd1097

View file

@ -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) {