diff options
| author | Steve Nicolai | 2012-08-05 14:16:37 -0500 |
|---|---|---|
| committer | Misko Hevery | 2012-08-30 21:34:42 -0700 |
| commit | f66836fee40ba99008bf9d86a4dd9654b622f105 (patch) | |
| tree | 71fb6172bff42684c4191687de53639b613148c5 /docs/content/guide/directive.ngdoc | |
| parent | 0ccc445d5350c352983278eba0919bc7e4c30b34 (diff) | |
| download | angular.js-f66836fee40ba99008bf9d86a4dd9654b622f105.tar.bz2 | |
doc(devguide) - Fix typos and small grammatical errors in the developer guide.
Diffstat (limited to 'docs/content/guide/directive.ngdoc')
| -rw-r--r-- | docs/content/guide/directive.ngdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guide/directive.ngdoc b/docs/content/guide/directive.ngdoc index 9656a773..b600f4d9 100644 --- a/docs/content/guide/directive.ngdoc +++ b/docs/content/guide/directive.ngdoc @@ -271,7 +271,7 @@ simplified as: }); </pre> -Most directives concern themselves only with instances not with template transformations allowing +Most directives concern themselves only with instances, not with template transformations, allowing further simplification: <pre> @@ -342,7 +342,7 @@ compiler}. The attributes are: `scope: { localFn:'increment()' }`, 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 + 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})`. |
