import { Routes } from '@angular/router' ; import { HomePageComponent } from './home-page/home-page.component' ; export const APP_ROUTES = [ { path : '' , component : HomePageComponent } , { path : 'users' , loadChildren : ( ) => import ( '@nx-mean-starter/navigation/users' ) . then ( m => m . NavigationUsersModule ) , } , { path : '**' , redirectTo : '' , pathMatch : 'full' } , ] ;