Enable tracing
The very first thing we can do during development to start troubleshooting router-related issues is to enable tracing, which will print out every single event in the console.
@NgModule({ import: [RouterModule.forRoot(routes, {enableTracing: true})] }) class MailModule { } platformBrowserDynamic().bootstrapModule(MailModule);