-
Notifications
You must be signed in to change notification settings - Fork 25
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
Does it work in angular 4? #22
Comments
I'm using angular 4 too. Did you resolve this problem? |
@dalilagauge No. I am building my own! |
@echorohit Could you share your solution, please? |
currently developing the angular 4 solution. hoping to pull request and merge here soon. @dalilagauge just pushed the angular 4 solution to npm : https://www.npmjs.com/package/angular-notice. Hoping once Alex responds we can merge the projects. The repo is also on my github. |
Thank you @LenonLopez! |
@dalilagauge I also have a new repo: If you can any questions please go there and open an issue. I will be more than happy to develop more features you need. |
@LenonLopez ERROR Error: Uncaught (in promise): Error: No provider for NativeNotificationService! I followed the instructions. My angular version is 4.4.4. Please help. |
Ok I got the solution, the line: import { NativeNotificationService } from 'angular-notice/lib/native-notification.service'; should also be included in app.module.ts and NariveNotificationService should be placed in @NgModule's provider array. Now it works. Awesome solution for @LenonLopez for Angular 4 ! Many thanks ! |
@LenonLopez Mind submitting a PR to this project? |
As directive is no more a part of @component declaration the directive way is not working.
The text was updated successfully, but these errors were encountered: