aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/directive.ngdoc
diff options
context:
space:
mode:
authorMiško Hevery2012-11-05 19:34:20 -0800
committerMiško Hevery2012-11-05 19:34:20 -0800
commitc6b4ab3548cd728bc0ec909abf66e31183dd2ea4 (patch)
tree4c0a8a0b8b1fe1065f41926529280174b94d4f91 /docs/content/guide/directive.ngdoc
parentb429f538a3e92af69e51bf10d6ee83dd322fea72 (diff)
downloadangular.js-c6b4ab3548cd728bc0ec909abf66e31183dd2ea4.tar.bz2
Update docs/content/guide/directive.ngdoc
docs(directive): fix typo
Diffstat (limited to 'docs/content/guide/directive.ngdoc')
-rw-r--r--docs/content/guide/directive.ngdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc
index f355be05..1dbb41d2 100644
--- a/docs/content/guide/directive.ngdoc
+++ b/docs/content/guide/directive.ngdoc
@@ -339,7 +339,7 @@ compiler}. The attributes are:
* `&` or `&attr` - provides a way to execute an expression in the context of the parent scope.
If no `attr` name is specified then the local name and attribute name are same.
Given `<widget my-attr="count = count + value">` and widget definition of
- `scope: { localFn:'increment()' }`, then isolate scope property `localFn` will point to
+ `scope: { localFn:'&myAttr' }`, then isolate scope property `localFn` will point to
a function wrapper for the `increment()` expression. Often it's desirable to pass data from
the isolate scope via an expression and to the parent scope, this can be done by passing a
map of local variable names and values into the expression wrapper fn. For example, if the