]>
Commit | Line | Data |
---|---|---|
a685e25c C |
1 | import { Component, OnInit } from '@angular/core' |
2 | ||
3 | import { VideoService } from './shared' | |
0629423c C |
4 | |
5 | @Component({ | |
ab32b0fc | 6 | template: '<router-outlet></router-outlet>' |
0629423c | 7 | }) |
a685e25c | 8 | export class VideosComponent implements OnInit { |
ec61fb7e | 9 | constructor (private videoService: VideoService) {} |
0629423c | 10 | |
a685e25c C |
11 | ngOnInit () { |
12 | this.videoService.loadVideoCategories() | |
13 | this.videoService.loadVideoLicences() | |
14 | this.videoService.loadVideoLanguages() | |
15 | } | |
0629423c | 16 | } |