]>
Commit | Line | Data |
---|---|---|
1 | import { NgModule } from '@angular/core' | |
2 | ||
3 | import { VideosRoutingModule } from './videos-routing.module' | |
4 | import { VideosComponent } from './videos.component' | |
5 | import { LoaderComponent, VideoListComponent, VideoMiniatureComponent, VideoSortComponent } from './video-list' | |
6 | import { VideoService } from './shared' | |
7 | import { SharedModule } from '../shared' | |
8 | ||
9 | @NgModule({ | |
10 | imports: [ | |
11 | VideosRoutingModule, | |
12 | SharedModule | |
13 | ], | |
14 | ||
15 | declarations: [ | |
16 | VideosComponent, | |
17 | ||
18 | VideoListComponent, | |
19 | VideoMiniatureComponent, | |
20 | VideoSortComponent, | |
21 | ||
22 | LoaderComponent | |
23 | ], | |
24 | ||
25 | exports: [ | |
26 | VideosComponent | |
27 | ], | |
28 | ||
29 | providers: [ | |
30 | VideoService | |
31 | ] | |
32 | }) | |
33 | export class VideosModule { } |