import { NgModule } from '@angular/core' ; import { Routes , RouterModule } from '@angular/router' ; import { AuthSettingsComponent } from './auth-settings.component' ; import { ProviderResolver } from '../../auth/resolvers/provider-resolver.service' ; const routes = [ { path : '' , pathMatch : 'full' , data : { breadcrumb : 'Config' , right : 'base.system.edit' } , resolve : { providers : ProviderResolver } , component : AuthSettingsComponent } ] ; @ NgModule ( { imports : [ RouterModule . forChild ( routes ) ] , exports : [ RouterModule ] } ) export class AuthSettingsRoutingModule { }