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 21:34:42 -0700
commitb7d5fa1cbefb1e94ee46ef98c9029d5f30244f00 (patch)
tree8bb95577d63b718bb3470f6db0ea27dba5174c4c /docs/content/guide/scope.ngdoc
parent8bb3942453c5cc9c34affa689168c1bb46f0263e (diff)
downloadangular.js-b7d5fa1cbefb1e94ee46ef98c9029d5f30244f00.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.