/** Angular Imports */ import { Injectable } from '@angular/core' ; import { Resolve } from '@angular/router' ; /** rxjs Imports */ import { Observable } from 'rxjs' ; /** Custom Services */ import { ReportsService } from '../reports.service' ; /**
 * Mix Mappings data resolver.
 */ @ Injectable ( ) export class MixMappingsResolver implements Resolve < Object > { param { ReportsService } reportsService constructor ( private reportsService ) { } returns { Observable < any > } resolve ( ) { return this . reportsService . getMixMappings ( ) ; } }