Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 34ba294

Browse files
smithlgkalpak
authored andcommitted
docs(error/$rootScope:inprog): fix typos ("a $apply" --> "an $apply")
Closes #13896
1 parent 50ecc37 commit 34ba294

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/error/$rootScope/inprog.ngdoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ In this second scenario, we are already inside a `$digest` when the ngFocus dire
161161
call to `$apply()`, causing this error to be thrown.
162162

163163
It is possible to workaround this problem by moving the call to set the focus outside of the digest,
164-
by using `$timeout(fn, 0, false)`, where the `false` value tells Angular not to wrap this `fn` in a
164+
by using `$timeout(fn, 0, false)`, where the `false` value tells Angular not to wrap this `fn` in an
165165
`$apply` block:
166166

167167
```
@@ -200,7 +200,7 @@ the top of the call stack.
200200
Once you have identified this call you work your way up the stack to see what the problem is.
201201

202202
* If the second call was made in your application code then you should look at why this code has been
203-
called from within a `$apply`/`$digest`. It may be a simple oversight or maybe it fits with the
203+
called from within an `$apply`/`$digest`. It may be a simple oversight or maybe it fits with the
204204
sync/async scenario described earlier.
205205

206206
* If the second call was made inside an Angular directive then it is likely that it matches the second

0 commit comments

Comments
 (0)