Angular - Routing
Given this route configuration:
And this template:
What happens when navigating to URL
const routes = [
{ path: 'home', component: HomeComponent },
{ path: 'profile', component: ProfileComponent, outlet: 'sidebar' }
];And this template:
<router-outlet></router-outlet> <router-outlet name="sidebar"></router-outlet>
What happens when navigating to URL
/home(sidebar:profile)?