]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/app.component.ts
Client: Get videos -> See videos
[github/Chocobozzz/PeerTube.git] / client / src / app / app.component.ts
index d6b83c684012153583120f0a0db2985889ad1181..ce4fc04fffc85c4e9adb58b5b28902fab7abba64 100644 (file)
@@ -1,14 +1,19 @@
-import { Component } from '@angular/core';
+import { Component, ViewContainerRef } from '@angular/core';
 import { Router } from '@angular/router';
 
+import { MetaService } from 'ng2-meta';
 @Component({
-    selector: 'my-app',
-    templateUrl: './app.component.html',
-    styleUrls: [ './app.component.scss' ]
+  selector: 'my-app',
+  templateUrl: './app.component.html',
+  styleUrls: [ './app.component.scss' ]
 })
 
 export class AppComponent {
-  constructor(private router: Router) {}
+  constructor(
+    private router: Router,
+    private metaService: MetaService,
+    viewContainerRef: ViewContainerRef
+  ) {}
 
   isInAdmin() {
     return this.router.url.indexOf('/admin/') !== -1;