1 import { Component, ViewContainerRef } from '@angular/core';
2 import { Router } from '@angular/router';
4 import { MetaService } from 'ng2-meta';
7 templateUrl: './app.component.html',
8 styleUrls: [ './app.component.scss' ]
11 export class AppComponent {
13 private router: Router,
14 private metaService: MetaService,
15 viewContainerRef: ViewContainerRef
19 return this.router.url.indexOf('/admin/') !== -1;