diff options
| author | Daniel Luz | 2012-11-07 08:37:46 -0200 | 
|---|---|---|
| committer | Pawel Kozlowski | 2012-11-29 20:22:41 +0100 | 
| commit | 4eb0716711e616949e8f45ef71b166989246eb9c (patch) | |
| tree | 7bce91ddcc88ff70224130eac55140dd0e01582e /docs/content/guide/directive.ngdoc | |
| parent | ed90f3b7ea11ffdb55a5d834e8ff69c77d673db0 (diff) | |
| download | angular.js-4eb0716711e616949e8f45ef71b166989246eb9c.tar.bz2 | |
docs(directive): correct expression, fix typo and re-wrap lines
Diffstat (limited to 'docs/content/guide/directive.ngdoc')
| -rw-r--r-- | docs/content/guide/directive.ngdoc | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc index f2a54ace..bed1621a 100644 --- a/docs/content/guide/directive.ngdoc +++ b/docs/content/guide/directive.ngdoc @@ -342,11 +342,11 @@ compiler}. The attributes are:          If no `attr` name is specified then the attribute name is assumed to be the same as the          local name. Given `<widget my-attr="count = count + value">` and widget definition of          `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 -        expression is `increment(amount)` then we can specify the amount value by calling the -        `localFn` as `localFn({amount: 22})`. +        a function wrapper for the `count = count + value` expression. Often it's desirable to +        pass data from the isolated 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 expression is `increment(amount)` then we can specify the amount value +        by calling the `localFn` as `localFn({amount: 22})`.    * `controller` - Controller constructor function. The controller is instantiated before the      pre-linking phase and it is shared with other directives if they request it by name (see | 
