Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Unknown provider: $idleProviderProvider <- $idleProvider #26

Closed
tihomir-kit opened this issue Aug 14, 2014 · 3 comments
Closed

Unknown provider: $idleProviderProvider <- $idleProvider #26

tihomir-kit opened this issue Aug 14, 2014 · 3 comments

Comments

@tihomir-kit
Copy link

Is $idleProvider exposed so it could be used through injection? I tried injecting $idleProvider (as well as $IdleProvider - upper-case "I") but I keep getting:

Unknown provider: $idleProviderProvider <- $idleProvider

Is it even supposed to be exposed? Your getting started injects and uses it in .config()

For example, how do I access the autoResume() function (am I even supposed to have access to that)?

Thanks

@tihomir-kit
Copy link
Author

I looked at the documentation a bit more and if I am correct, $idleProvider can actually only be used in .config()?

@grbsk
Copy link
Owner

grbsk commented Aug 14, 2014

Correct. Providers in Angular can only be used during config.

On Aug 14, 2014, at 10:04 AM, Tihomir Kit notifications@github.com wrote:

I looked at the documentation a bit more and if I am correct, $idleProvider can actually only be used in .config()?


Reply to this email directly or view it on GitHub.

@tihomir-kit
Copy link
Author

Ok, thanks for the prompt answer. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants