diff options
Diffstat (limited to 'client/src/app/core/core.module.ts')
-rw-r--r-- | client/src/app/core/core.module.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts index be29b88da..27e6ee1fb 100644 --- a/client/src/app/core/core.module.ts +++ b/client/src/app/core/core.module.ts | |||
@@ -1,17 +1,20 @@ | |||
1 | import { NgModule, Optional, SkipSelf } from '@angular/core'; | 1 | import { NgModule, Optional, SkipSelf } from '@angular/core'; |
2 | import { CommonModule } from '@angular/common'; | 2 | import { CommonModule } from '@angular/common'; |
3 | import { HttpModule } from '@angular/http'; | 3 | import { HttpModule } from '@angular/http'; |
4 | import { RouterModule } from '@angular/router'; | ||
4 | 5 | ||
5 | import { AuthService } from './auth'; | 6 | import { AuthService } from './auth'; |
7 | import { MenuComponent } from './menu'; | ||
6 | import { throwIfAlreadyLoaded } from './module-import-guard'; | 8 | import { throwIfAlreadyLoaded } from './module-import-guard'; |
7 | 9 | ||
8 | @NgModule({ | 10 | @NgModule({ |
9 | imports: [ | 11 | imports: [ |
10 | CommonModule, | 12 | CommonModule, |
11 | HttpModule | 13 | HttpModule, |
14 | RouterModule | ||
12 | ], | 15 | ], |
13 | declarations: [ ], | 16 | declarations: [ MenuComponent ], |
14 | exports: [ ], | 17 | exports: [ MenuComponent ], |
15 | providers: [ AuthService ] | 18 | providers: [ AuthService ] |
16 | }) | 19 | }) |
17 | export class CoreModule { | 20 | export class CoreModule { |