import { Component, OnDestroy, OnInit } from '@angular/core'
import { ActivatedRoute, Router } from '@angular/router'
import { Component, OnDestroy, OnInit } from '@angular/core'
import { ActivatedRoute, Router } from '@angular/router'
import { NotificationsService } from 'angular2-notifications'
import { forkJoin, Subscription } from 'rxjs'
import { SearchService } from '@app/search/search.service'
import { NotificationsService } from 'angular2-notifications'
import { forkJoin, Subscription } from 'rxjs'
import { SearchService } from '@app/search/search.service'
private route: ActivatedRoute,
private router: Router,
private metaService: MetaService,
private route: ActivatedRoute,
private router: Router,
private metaService: MetaService,
private notificationsService: NotificationsService,
private searchService: SearchService,
private authService: AuthService
private notificationsService: NotificationsService,
private searchService: SearchService,
private authService: AuthService