mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-04 13:14:49 +00:00
docs($rootScope): fix typos on $watch
This commit is contained in:
parent
03042c52b9
commit
83fbdd1097
1 changed files with 1 additions and 1 deletions
|
|
@ -278,7 +278,7 @@ function $RootScopeProvider(){
|
||||||
* - `string`: Evaluated as {@link guide/expression expression}
|
* - `string`: Evaluated as {@link guide/expression expression}
|
||||||
* - `function(newValue, oldValue, scope)`: called with current and previous values as parameters.
|
* - `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.
|
* @returns {function()} Returns a deregistration function for this listener.
|
||||||
*/
|
*/
|
||||||
$watch: function(watchExp, listener, objectEquality) {
|
$watch: function(watchExp, listener, objectEquality) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue