File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ compiler}. The attributes are:
339
339
* `&` or `&attr` - provides a way to execute an expression in the context of the parent scope.
340
340
If no `attr` name is specified then the local name and attribute name are same.
341
341
Given `<widget my-attr="count = count + value">` and widget definition of
342
- `scope: { localFn:'increment() ' }`, then isolate scope property `localFn` will point to
342
+ `scope: { localFn:'&myAttr ' }`, then isolate scope property `localFn` will point to
343
343
a function wrapper for the `increment()` expression. Often it's desirable to pass data from
344
344
the isolate scope via an expression and to the parent scope, this can be done by passing a
345
345
map of local variable names and values into the expression wrapper fn. For example, if the
You can’t perform that action at this time.
0 commit comments