]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/videos/videos.module.ts
Client: use ng2-tag-input for forms with video tags
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / videos.module.ts
CommitLineData
693b1aba
C
1import { NgModule } from '@angular/core';
2
3758da94 3import { TagInputModule } from 'ng2-tag-input';
ad42bea3 4
693b1aba
C
5import { VideosRoutingModule } from './videos-routing.module';
6import { VideosComponent } from './videos.component';
d8e689b8 7import { VideoAddComponent, VideoUpdateComponent } from './video-edit';
693b1aba 8import { VideoListComponent, VideoMiniatureComponent, VideoSortComponent } from './video-list';
4f8c0eb0
C
9import {
10 VideoWatchComponent,
11 VideoMagnetComponent,
12 VideoReportComponent,
13 VideoShareComponent,
14 WebTorrentService
15} from './video-watch';
693b1aba
C
16import { LoaderComponent, VideoService } from './shared';
17import { 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})
54export class VideosModule { }