From 1e078d87a3b90438d2d45428a188036baa83c77b Mon Sep 17 00:00:00 2001 From: Addison Snelling Date: Sat, 4 Feb 2017 01:57:01 -0600 Subject: [PATCH] add .forRoot() to import statement as per #146 --- docs/toastNotifications.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/toastNotifications.md b/docs/toastNotifications.md index 1967aec..9fb9ee7 100644 --- a/docs/toastNotifications.md +++ b/docs/toastNotifications.md @@ -3,10 +3,10 @@ Toast notifications are regular on-page notifications. ## Setup -Import the `SimpleNotificationsModule` in to your `AppModule` +Import the `SimpleNotificationsModule` in to your root `AppModule` ```ts @NgModule({ - imports: [BrowserModule, SimpleNotificationsModule], + imports: [BrowserModule, SimpleNotificationsModule.forRoot()], declarations: [AppComponent], bootstrap: [AppComponent] })