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