Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown provider #63

Open
isaacalves opened this issue Mar 2, 2016 · 1 comment
Open

unknown provider #63

isaacalves opened this issue Mar 2, 2016 · 1 comment

Comments

@isaacalves
Copy link

This must be a really simple issue but I can't solve that.

I'm getting this error:

Error: [$injector:unpr] http://errors.angularjs.org/1.4.9/$injector/unpr?p0=smoothScrollProvider%20%3C-

Installed "ngSmoothScroll": "~2.0.0" with Bower.

Is this how I'm supposed to inject it?
QuizApp.controller('QuizCtrl', ['smoothScroll', function(smoothScroll) { ...
Thanks

@isaacalves
Copy link
Author

The problem is that I need to include 'smoothScroll' as a dependency in the module too and I was including only in the controller.

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

No branches or pull requests

1 participant