I'm trying to handle routing with nested modules in Angular in best way.
Let's say that I start application with URL localhost:5000. I should see HomeComponent with some content on left side and on the right side I have <router-outlet> where should be rendered ContactComponent. If I will go to localhost:5000/info then ContactComponent should be replaced by InfoComponent. How Can I achive this?
This is what I have so far: https://stackblitz.com/edit/angular6-material-components-demo-jb9y3u?file=src/app/home/home-routing.module.ts
(ContactComponent is not rendering and if I go to localhost:5000/info then InfoComponent will render in <router-outlet> from AppComponent
And image for better explanation:
