From 494b527fa7dac9e60f0fd9d29f2f957720a6d69c Mon Sep 17 00:00:00 2001 From: Miško Hevery Date: Mon, 5 Nov 2012 19:35:31 -0800 Subject: docs(directive): fix typo --- docs/content/guide/directive.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/content/guide/directive.ngdoc') 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 `` 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 -- cgit v1.2.3