import { RouterModule , Routes } from "@angular/router" ; import { UserAccountComponent } from "./user-account/user-account.component" ; import { ModuleWithProviders } from "@angular/core" ; const routes = [ { path : "" , component : UserAccountComponent } ] ; /**
 * RoutingModule for UserModule related routes.
 * Separating these routes from the main AppModule routing allows lazy-loading of modules.
 */ export const routing = RouterModule . forChild ( routes ) ;