aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/scope.ngdoc
diff options
context:
space:
mode:
authorTyson Benson2012-08-09 00:12:54 +1000
committerMisko Hevery2012-08-30 15:43:58 -0700
commitc023c850c33701aa2d935b4bd0cea72602982e68 (patch)
treeb09814214824c1ad157288a99e466b9d9f171f0c /docs/content/guide/scope.ngdoc
parent5318588d6e8ee9a31f4002affd6858d25305aabf (diff)
downloadangular.js-c023c850c33701aa2d935b4bd0cea72602982e68.tar.bz2
docs(typos): fix typos in dev guide
Diffstat (limited to 'docs/content/guide/scope.ngdoc')
-rw-r--r--docs/content/guide/scope.ngdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guide/scope.ngdoc b/docs/content/guide/scope.ngdoc
index d39329bb..0866e199 100644
--- a/docs/content/guide/scope.ngdoc
+++ b/docs/content/guide/scope.ngdoc
@@ -222,7 +222,7 @@ The normal flow of browser receiving an event is that it executes a correspondin
callback. Once the callback completes the browser re-renders the DOM and returns to waiting for
more events.
-When the browser calls into JavaScript the code executes outside they Angular execution context,
+When the browser calls into JavaScript the code executes outside the Angular execution context,
which means that Angular is unaware of model modifications. To properly process model
modifications the execution has to enter the Angular execution context using the {@link
api/ng.$rootScope.Scope#$apply `$apply`} method. Only model modifications which
@@ -256,7 +256,7 @@ the `$digest` phase. This delay is desirable, since it coalesces multiple model
3. **Model mutation**
For mutations to be properly observed, you should make them only within the {@link
- api/ng.$rootScope.Scope#$apply scope.$apply()}. (Angular apis do this
+ api/ng.$rootScope.Scope#$apply scope.$apply()}. (Angular APIs do this
implicitly, so no extra `$apply` call is needed when doing synchronous work in controllers,
or asynchronous work with {@link api/ng.$http $http} or {@link
api/ng.$timeout $timeout} services.