how to call the component from routeroutlet in angualr from another module code example
Example: how to create app.routing.module.ts in angular 6
ng generate module app-routing --flat --module=app
ng generate module app-routing --flat --module=app