/** Angular Imports */ import { Injectable } from '@angular/core' ; import { Resolve } from '@angular/router' ; /** rxjs Imports */ import { Observable } from 'rxjs' ; /** Custom Services */ import { SystemService } from '../../system.service' ; /**
 * Notification Configuration data resolver.
 */ @ Injectable ( ) export class NotificationConfigurationResolver implements Resolve < Object > { param { SystemService } systemService constructor ( private systemService ) { } returns { Observable < any > } resolve ( ) { return this . systemService . getExternalConfiguration ( 'NOTIFICATION' ) ; } }