]>
Commit | Line | Data |
---|---|---|
1 | import { NgModule } from '@angular/core'; | |
2 | ||
3 | import { TagInputModule } from 'ng2-tag-input'; | |
4 | ||
5 | import { VideosRoutingModule } from './videos-routing.module'; | |
6 | import { VideosComponent } from './videos.component'; | |
7 | import { VideoAddComponent, VideoUpdateComponent } from './video-edit'; | |
8 | import { VideoListComponent, VideoMiniatureComponent, VideoSortComponent } from './video-list'; | |
9 | import { | |
10 | VideoWatchComponent, | |
11 | VideoMagnetComponent, | |
12 | VideoReportComponent, | |
13 | VideoShareComponent, | |
14 | WebTorrentService | |
15 | } from './video-watch'; | |
16 | import { LoaderComponent, VideoService } from './shared'; | |
17 | import { SharedModule } from '../shared'; | |
18 | ||
19 | @NgModule({ | |
20 | imports: [ | |
21 | TagInputModule, | |
22 | ||
23 | VideosRoutingModule, | |
24 | SharedModule | |
25 | ], | |
26 | ||
27 | declarations: [ | |
28 | VideosComponent, | |
29 | ||
30 | VideoAddComponent, | |
31 | VideoUpdateComponent, | |
32 | ||
33 | VideoListComponent, | |
34 | VideoMiniatureComponent, | |
35 | VideoSortComponent, | |
36 | ||
37 | VideoWatchComponent, | |
38 | VideoMagnetComponent, | |
39 | VideoShareComponent, | |
40 | VideoReportComponent, | |
41 | ||
42 | LoaderComponent | |
43 | ], | |
44 | ||
45 | exports: [ | |
46 | VideosComponent | |
47 | ], | |
48 | ||
49 | providers: [ | |
50 | VideoService, | |
51 | WebTorrentService | |
52 | ] | |
53 | }) | |
54 | export class VideosModule { } |