]>
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 { VideoAddComponent } from './video-add'; | |
6 | import { VideoListComponent, VideoMiniatureComponent, VideoSortComponent } from './video-list'; | |
7 | import { VideoWatchComponent, VideoMagnetComponent, VideoShareComponent, WebTorrentService } from './video-watch'; | |
8 | import { LoaderComponent, VideoService } from './shared'; | |
9 | import { SharedModule } from '../shared'; | |
10 | ||
11 | @NgModule({ | |
12 | imports: [ | |
13 | VideosRoutingModule, | |
14 | SharedModule | |
15 | ], | |
16 | ||
17 | declarations: [ | |
18 | VideosComponent, | |
19 | ||
20 | VideoAddComponent, | |
21 | ||
22 | VideoListComponent, | |
23 | VideoMiniatureComponent, | |
24 | VideoSortComponent, | |
25 | ||
26 | VideoWatchComponent, | |
27 | VideoMagnetComponent, | |
28 | VideoShareComponent, | |
29 | ||
30 | LoaderComponent | |
31 | ], | |
32 | ||
33 | exports: [ | |
34 | VideosComponent | |
35 | ], | |
36 | ||
37 | providers: [ | |
38 | VideoService, | |
39 | WebTorrentService | |
40 | ] | |
41 | }) | |
42 | export class VideosModule { } |