Skip to content

Commit 0958489

Browse files
chriskuehlcaitp
authored andcommitted
docs(error/$rootScope/inprog): fix $timeout typo
Closes angular#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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy