We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Importing SimpleNotificationsModule according to the documentation (below):
@NgModule({ imports: [BrowserModule, SimpleNotificationsModule], declarations: [AppComponent], bootstrap: [AppComponent] }) export class AppModule { }
results in a "No provider for NotificationsService" error after 313ca4d
The following resolves the error, so it seems the documentation should be updated.
@NgModule({ imports: [BrowserModule, SimpleNotificationsModule.forRoot()], // call `.forRoot()` method declarations: [AppComponent], bootstrap: [AppComponent] }) export class AppModule { }
I'm gonna put in a PR shortly with updated docs.
The text was updated successfully, but these errors were encountered:
add .forRoot() to import statement as per flauc#146
1e078d8
Merge pull request #147 from asnelling/docs/#146
2e6a707
Need to call .forRoot() in toast docs when importing from AppModule #146
Fix error in bootstrap of angular2-notifications module
eef919e
See flauc/angular2-notifications#146 for details.
No branches or pull requests
Importing SimpleNotificationsModule according to the documentation (below):
results in a "No provider for NotificationsService" error after 313ca4d
The following resolves the error, so it seems the documentation should be updated.
I'm gonna put in a PR shortly with updated docs.
The text was updated successfully, but these errors were encountered: