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

Commit 0958489

Browse files
chriskuehlcaitp
authored andcommitted
docs(error/$rootScope/inprog): fix $timeout typo
Closes #8071
1 parent 920c369 commit 0958489

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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 a
165165
`$apply` block:
166166

167167
```

0 commit comments

Comments
 (0)