aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-11-04 17:25:26 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-11-04 17:25:26 +0100
commitb58c69a1edcf63b6339576b5b431dbf7dea2c625 (patch)
tree98f4fb17351db9bd737aabfe56c1ddbcf8b29ad3 /client/src/app/app.component.ts
parent3154f38219ea6eb55532f38fee43d46821a020ee (diff)
downloadPeerTube-b58c69a1edcf63b6339576b5b431dbf7dea2c625.tar.gz
PeerTube-b58c69a1edcf63b6339576b5b431dbf7dea2c625.tar.zst
PeerTube-b58c69a1edcf63b6339576b5b431dbf7dea2c625.zip
Client: add titles to all pages
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index 01d3f5deb..ce4fc04ff 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -1,6 +1,7 @@
1import { Component, ViewContainerRef } from '@angular/core'; 1import { Component, ViewContainerRef } from '@angular/core';
2import { Router } from '@angular/router'; 2import { Router } from '@angular/router';
3 3
4import { MetaService } from 'ng2-meta';
4@Component({ 5@Component({
5 selector: 'my-app', 6 selector: 'my-app',
6 templateUrl: './app.component.html', 7 templateUrl: './app.component.html',
@@ -10,6 +11,7 @@ import { Router } from '@angular/router';
10export class AppComponent { 11export class AppComponent {
11 constructor( 12 constructor(
12 private router: Router, 13 private router: Router,
14 private metaService: MetaService,
13 viewContainerRef: ViewContainerRef 15 viewContainerRef: ViewContainerRef
14 ) {} 16 ) {}
15 17