-
Notifications
You must be signed in to change notification settings - Fork 106
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
No provider for Router! #40
Comments
Hello @dolanmiu, according to your screenshot you're trying to run your own application and not the demo application from this repo. The error |
As the As immediate workaround adding either adding the angular router to your project or using the PageScrollService instead of the directive should fix the problem. I'll have to investigate whether there is a way to make the dependency "weaker", but I fear this is not possible. |
It is now possible to create an angular app (using latest angular-cli) without |
I'm using version
3.1.2
ofng2-page-scroll
I am doing the absolute bare minimum to get it to work, and I can't get it to work, I get the following error:
Screenshot here:
The text was updated successfully, but these errors were encountered: