Creating Routing module in angularjs6
we can use the below cli to generate routing module. ng generate module app-routing –flat –module=app –flat put the routing file inside src/app folder –module tells the cli to register it in the imports array of AppModule