diff options
| author | Brent Morrow | 2013-04-07 13:08:12 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-04-11 14:03:52 -0700 |
| commit | 3ec7b874838c928213bcd519b3647da5b9e6ef11 (patch) | |
| tree | 6d6f2ef2d6e14eb82aeceb1ea3547855056f52b0 /docs/content/guide/expression.ngdoc | |
| parent | 63ce1f62657eed15849172161efe012e6500cd9f (diff) | |
| download | angular.js-3ec7b874838c928213bcd519b3647da5b9e6ef11.tar.bz2 | |
docs(guide/expression): wording changes
Diffstat (limited to 'docs/content/guide/expression.ngdoc')
| -rw-r--r-- | docs/content/guide/expression.ngdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guide/expression.ngdoc b/docs/content/guide/expression.ngdoc index 59839c63..62b5f8d8 100644 --- a/docs/content/guide/expression.ngdoc +++ b/docs/content/guide/expression.ngdoc @@ -3,7 +3,7 @@ @description Expressions are JavaScript-like code snippets that are usually placed in bindings such as `{{ -expression }}`. Expressions are processed by {@link api/ng.$parse $parse} +expression }}`. Expressions are processed by the {@link api/ng.$parse $parse} service. For example, these are all valid expressions in angular: @@ -179,7 +179,7 @@ angular uses, to differentiate its API names from others. If angular didn't use `a.length()` would return undefined because neither a nor angular define such a property. Consider that in a future version of Angular we might choose to add a length method, in which case -the behavior of the expression would change. Worse yet, you the developer could create a length +the behavior of the expression would change. Worse yet, you, the developer, could create a length property and then we would have a collision. This problem exists because Angular augments existing objects with additional behavior. By prefixing its additions with $ we are reserving our namespace so that angular developers and developers who use Angular can develop in harmony without collisions. |
