I have the following routes, and I need to render the Conditional component in some specific routes, but the shared component in all routes. How can I do it?
const routes: Routes = [
{
path: "someroute", component: ConditionalComponent,
children: [{ path: '', component: SharedComponent }],
} ];