]>
Commit | Line | Data |
---|---|---|
1 | import { NgModule } from '@angular/core' | |
2 | import { VideoSupportComponent } from '@app/videos/+video-watch/modal/video-support.component' | |
3 | import { SharedModule } from '../../shared' | |
4 | import { VideoCommentAddComponent } from './comment/video-comment-add.component' | |
5 | import { VideoCommentComponent } from './comment/video-comment.component' | |
6 | import { VideoCommentService } from './comment/video-comment.service' | |
7 | import { VideoCommentsComponent } from './comment/video-comments.component' | |
8 | import { VideoShareComponent } from './modal/video-share.component' | |
9 | import { VideoWatchRoutingModule } from './video-watch-routing.module' | |
10 | import { VideoWatchComponent } from './video-watch.component' | |
11 | import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap' | |
12 | import { RecommendationsModule } from '@app/videos/recommendations/recommendations.module' | |
13 | import { VideoWatchPlaylistComponent } from '@app/videos/+video-watch/video-watch-playlist.component' | |
14 | import { QRCodeModule } from 'angularx-qrcode' | |
15 | import { TimestampRouteTransformerDirective } from '@app/shared/angular/timestamp-route-transformer.directive' | |
16 | ||
17 | @NgModule({ | |
18 | imports: [ | |
19 | VideoWatchRoutingModule, | |
20 | SharedModule, | |
21 | NgbTooltipModule, | |
22 | QRCodeModule, | |
23 | RecommendationsModule | |
24 | ], | |
25 | ||
26 | declarations: [ | |
27 | VideoWatchComponent, | |
28 | VideoWatchPlaylistComponent, | |
29 | ||
30 | VideoShareComponent, | |
31 | VideoSupportComponent, | |
32 | VideoCommentsComponent, | |
33 | VideoCommentAddComponent, | |
34 | VideoCommentComponent, | |
35 | ||
36 | TimestampRouteTransformerDirective | |
37 | ], | |
38 | ||
39 | exports: [ | |
40 | VideoWatchComponent, | |
41 | ||
42 | TimestampRouteTransformerDirective | |
43 | ], | |
44 | ||
45 | providers: [ | |
46 | VideoCommentService | |
47 | ] | |
48 | }) | |
49 | export class VideoWatchModule { } |