diff options
Diffstat (limited to 'client/src/app/core/core.module.ts')
-rw-r--r-- | client/src/app/core/core.module.ts | 13 |
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'; | |||
4 | import { RouterModule } from '@angular/router'; | 4 | import { RouterModule } from '@angular/router'; |
5 | 5 | ||
6 | import { SimpleNotificationsModule } from 'angular2-notifications'; | 6 | import { SimpleNotificationsModule } from 'angular2-notifications'; |
7 | import { ModalModule } from 'ng2-bootstrap/modal'; | ||
7 | 8 | ||
8 | import { AuthService } from './auth'; | 9 | import { AuthService } from './auth'; |
10 | import { ConfirmComponent, ConfirmService } from './confirm'; | ||
9 | import { MenuComponent, MenuAdminComponent } from './menu'; | 11 | import { MenuComponent, MenuAdminComponent } from './menu'; |
10 | import { throwIfAlreadyLoaded } from './module-import-guard'; | 12 | import { 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 | }) |
32 | export class CoreModule { | 43 | export class CoreModule { |
33 | constructor( @Optional() @SkipSelf() parentModule: CoreModule) { | 44 | constructor( @Optional() @SkipSelf() parentModule: CoreModule) { |