This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -315,13 +315,12 @@ function $RootScopeProvider(){
315
315
*
316
316
* - `string`: Evaluated as {@link guide/expression expression}
317
317
* - `function(scope)`: called with current `scope` as a parameter.
318
- * @param {function()= } listener Callback called whenever the return value of
319
- * the `watchExpression` changes.
320
- *
321
- * - `string`: Evaluated as {@link guide/expression expression}
322
- * - `function(newValue, oldValue, scope)`: called with current and previous values as
323
- * parameters.
318
+ * @param {function(newVal, oldVal, scope) } listener Callback called whenever the value
319
+ * of `watchExpression` changes.
324
320
*
321
+ * - `newVal` contains the current value of the `watchExpression`
322
+ * - `oldVal` contains the previous value of the `watchExpression`
323
+ * - `scope` refers to the current scope
325
324
* @param {boolean= } objectEquality Compare for object equality using {@link angular.equals} instead of
326
325
* comparing for reference equality.
327
326
* @param {function()= } deregisterNotifier Function to call when the deregistration function
You can’t perform that action at this time.
0 commit comments