I have component with separated file of routing settings:
import { NgModule } from \'@angular/core\'; import { Routes,
You can pass in a second argument with options:
imports: [ RouterModule.forRoot( routes, { enableTracing: true } // <-- debugging purposes only ) ]