How to use the angular2-toaster/angular2-toaster.ToasterModule function in angular2-toaster

To help you get started, we’ve selected a few angular2-toaster examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TwanoO67 / ngx-admin-lte / dist / ngx-admin-lte.module.js View on Github external
messages_box_1.MessagesBoxComponent,
                notification_box_1.NotificationBoxComponent,
                tasks_box_1.TasksBoxComponent,
                user_box_1.UserBoxComponent,
                component_loader_1.ComponentLoaderComponent,
                // LAYOUTS
                auth_1.LayoutAuthComponent,
                login_component_1.LayoutLoginComponent,
                register_component_1.LayoutRegisterComponent
            ],
            imports: [
                platform_browser_1.BrowserModule,
                forms_1.FormsModule,
                http_1.HttpModule,
                router_1.RouterModule,
                angular2_toaster_1.ToasterModule,
                http_2.HttpClientModule,
                core_2.TranslateModule.forRoot({
                    loader: {
                        provide: core_2.TranslateLoader,
                        useFactory: (HttpLoaderFactory),
                        deps: [http_2.HttpClient]
                    }
                }),
            ],
            exports: [
                safe_html_pipes_1.SafeHtmlPipe,
            ],
            providers: [
                // SERVICES
                user_service_1.UserService,
                menu_service_1.MenuService,