This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -342,11 +342,11 @@ compiler}. The attributes are:
342
342
If no `attr` name is specified then the attribute name is assumed to be the same as the
343
343
local name. Given `<widget my-attr="count = count + value">` and widget definition of
344
344
`scope: { localFn:'&myAttr' }`, then isolate scope property `localFn` will point to
345
- a function wrapper for the `increment() ` expression. Often it's desirable to pass data from
346
- the isolate scope via an expression and to the parent scope, this can be done by passing a
347
- map of local variable names and values into the expression wrapper fn. For example, if the
348
- expression is `increment(amount)` then we can specify the amount value by calling the
349
- `localFn` as `localFn({amount: 22})`.
345
+ a function wrapper for the `count = count + value ` expression. Often it's desirable to
346
+ pass data from the isolated scope via an expression and to the parent scope, this can be
347
+ done by passing a map of local variable names and values into the expression wrapper fn.
348
+ For example, if the expression is `increment(amount)` then we can specify the amount value
349
+ by calling the `localFn` as `localFn({amount: 22})`.
350
350
351
351
* `controller` - Controller constructor function. The controller is instantiated before the
352
352
pre-linking phase and it is shared with other directives if they request it by name (see
You can’t perform that action at this time.
0 commit comments