diff options
| author | Steve Nicolai | 2012-08-05 14:16:37 -0500 |
|---|---|---|
| committer | Misko Hevery | 2012-08-30 16:02:24 -0700 |
| commit | 5cb7297a08649107d5155a22477c8c3511372034 (patch) | |
| tree | e25e455b8289342f1b98281c1fe5c9d0d3701cc8 /docs/content/guide/scope.ngdoc | |
| parent | 0f05516d14329a5e080969c174fb7535b3a43cbe (diff) | |
| download | angular.js-5cb7297a08649107d5155a22477c8c3511372034.tar.bz2 | |
doc(devguide) - Fix typos and small grammatical errors in the developer guide.
Diffstat (limited to 'docs/content/guide/scope.ngdoc')
| -rw-r--r-- | docs/content/guide/scope.ngdoc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/guide/scope.ngdoc b/docs/content/guide/scope.ngdoc index 0866e199..5425215f 100644 --- a/docs/content/guide/scope.ngdoc +++ b/docs/content/guide/scope.ngdoc @@ -231,9 +231,9 @@ directive listens on DOM events, such as {@link api/ng.directive:ngClick `ng-click`} it must evaluate the expression inside the `$apply` method. -After evaluating the expression `$apply` method performs a {@link -api/ng.$rootScope.Scope#$digest `$digest`}. In $digest phase the scope examines all -of the `$watch` expressions and compares them with previous value. This dirty checking, is done +After evaluating the expression, the `$apply` method performs a {@link +api/ng.$rootScope.Scope#$digest `$digest`}. In the $digest phase the scope examines all +of the `$watch` expressions and compares them with the previous value. This dirty checking is done asynchronously. This means that assignment such as `$scope.username="angular"` will not immediately cause a `$watch` to be notified, instead the `$watch` notification is delayed until the `$digest` phase. This delay is desirable, since it coalesces multiple model updates into one @@ -250,7 +250,7 @@ the `$digest` phase. This delay is desirable, since it coalesces multiple model 2. **Watcher registration** During template linking directives register {@link - api/ng.$rootScope.Scope#$watch watches} on the scope. This watches will be + api/ng.$rootScope.Scope#$watch watches} on the scope. These watches will be used to propagate model values to the DOM. 3. **Model mutation** |
