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 {
12 notificationOptions = {
18 showProgressBar: false,
20 preventDuplicates: false,
21 preventLastDuplicates: 'visible',
26 private router: Router,
27 private metaService: MetaService,
28 viewContainerRef: ViewContainerRef
32 return this.router.url.indexOf('/admin/') !== -1;