mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-05 22:35:14 +08:00
docs($rootScope): fix typos on $watch
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user