aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/core.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/core/core.module.ts')
-rw-r--r--client/src/app/core/core.module.ts13
1 files changed, 12 insertions, 1 deletions
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts
index 48fec2d43..f02304647 100644
--- a/client/src/app/core/core.module.ts
+++ b/client/src/app/core/core.module.ts
@@ -4,8 +4,10 @@ import { HttpModule } from '@angular/http';
4import { RouterModule } from '@angular/router'; 4import { RouterModule } from '@angular/router';
5 5
6import { SimpleNotificationsModule } from 'angular2-notifications'; 6import { SimpleNotificationsModule } from 'angular2-notifications';
7import { ModalModule } from 'ng2-bootstrap/modal';
7 8
8import { AuthService } from './auth'; 9import { AuthService } from './auth';
10import { ConfirmComponent, ConfirmService } from './confirm';
9import { MenuComponent, MenuAdminComponent } from './menu'; 11import { MenuComponent, MenuAdminComponent } from './menu';
10import { throwIfAlreadyLoaded } from './module-import-guard'; 12import { throwIfAlreadyLoaded } from './module-import-guard';
11 13
@@ -15,19 +17,28 @@ import { throwIfAlreadyLoaded } from './module-import-guard';
15 HttpModule, 17 HttpModule,
16 RouterModule, 18 RouterModule,
17 19
20 ModalModule,
18 SimpleNotificationsModule 21 SimpleNotificationsModule
19 ], 22 ],
23
20 declarations: [ 24 declarations: [
25 ConfirmComponent,
21 MenuComponent, 26 MenuComponent,
22 MenuAdminComponent 27 MenuAdminComponent
23 ], 28 ],
29
24 exports: [ 30 exports: [
25 SimpleNotificationsModule, 31 SimpleNotificationsModule,
26 32
33 ConfirmComponent,
27 MenuComponent, 34 MenuComponent,
28 MenuAdminComponent 35 MenuAdminComponent
29 ], 36 ],
30 providers: [ AuthService ] 37
38 providers: [
39 AuthService,
40 ConfirmService
41 ]
31}) 42})
32export class CoreModule { 43export class CoreModule {
33 constructor( @Optional() @SkipSelf() parentModule: CoreModule) { 44 constructor( @Optional() @SkipSelf() parentModule: CoreModule) {