/** Angular Imports */ import { NgModule } from '@angular/core' ; import { Routes , RouterModule } from '@angular/router' ; /** Routing Imports */ import { Route } from '../core/route/route.service' ; /** Translation Imports */ import { extract } from '../core/i18n/i18n.service' ; /** Custom Components */ import { NavigationComponent } from './navigation.component' ; /** Custom Resolvers */ import { OfficesResolver } from './offices.resolver' ; /** Navigation Routes */ const routes = [ Route . withShell ( [ { path : 'navigation' , component : NavigationComponent , data : { title : extract ( 'Navigation' ) , breadcrumb : 'Navigation' } , resolve : { offices : OfficesResolver } } ] ) ] ; /**
 * Navigation Module
 *
 * Configures the navigation (by offices) routes.
 */ @ NgModule ( { imports : [ RouterModule . forChild ( routes ) ] , exports : [ RouterModule ] , providers : [ OfficesResolver ] } ) export class NavigationRoutingModule { }