Angular 6 - Switch between two components in main component : <p>I have an app in Angular 6 and bootstrap. I have a main component, I want to be able to switch between two sub components in the main component but stay on the main component route. I have recreated here: </p>

<p><a href="https://stackblitz.com/edit/angular-xujgmw" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-xujgmw</a></p>

<p>Any ideas? </p>
