]>
Commit | Line | Data |
---|---|---|
1 | import { NgModule } from '@angular/core' | |
2 | import { SharedModule } from '../../shared' | |
3 | import { VideoEditModule } from './shared/video-edit.module' | |
4 | import { VideoUpdateRoutingModule } from './video-update-routing.module' | |
5 | import { VideoUpdateComponent } from './video-update.component' | |
6 | import { VideoUpdateResolver } from '@app/videos/+video-edit/video-update.resolver' | |
7 | import { CanDeactivateGuard } from '@app/shared/guards/can-deactivate-guard.service' | |
8 | ||
9 | @NgModule({ | |
10 | imports: [ | |
11 | VideoUpdateRoutingModule, | |
12 | VideoEditModule, | |
13 | SharedModule | |
14 | ], | |
15 | ||
16 | declarations: [ | |
17 | VideoUpdateComponent | |
18 | ], | |
19 | ||
20 | exports: [ | |
21 | VideoUpdateComponent | |
22 | ], | |
23 | ||
24 | providers: [ | |
25 | VideoUpdateResolver, | |
26 | CanDeactivateGuard | |
27 | ] | |
28 | }) | |
29 | export class VideoUpdateModule { } |