Skip to content
Permalink
Browse files

docs(error/$rootScope/inprog): add missing "$timeout"

Closes #13630
  • Loading branch information
wytesk133 authored and petebacondarwin committed Dec 25, 2015
1 parent 1120242 commit 0e03644dadbbdab6f4acf80f80f9d236bcd56dc2
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/content/error/$rootScope/inprog.ngdoc
@@ -100,7 +100,7 @@ To resolve this type of issue, either fix the api to be always synchronous or as
your callback handler to always run asynchronously by using the `$timeout` service.

```
function MyController($scope, thirdPartyComponent) {
function MyController($scope, $timeout, thirdPartyComponent) {
thirdPartyComponent.getData(function(someData) {
$timeout(function() {
$scope.someData = someData;

0 comments on commit 0e03644

Please sign in to comment.
You can’t perform that action at this time.