I want to have two router outlets, the primary one, and a modal outlet. When navigating to /login, I want to show my home component in the primary outlet, and my login component in the modal outlet. Something like this:
{
path: 'login',
component: HomeComponent
},
{
path: 'login',
component: LoginComponent,
outlet: 'modal'
}
This is possible to do by using horrible auxiliary URLs like /home(modal:login), but of course no one wants their URLs to look like that.
How do I solve this without these URLs?