I wanted to have routes of products.
First I wanted to have a list route that looks like:
/products. For its view details, it should look like
/products/:id. For creating new, it should look like
Its working well BUT the problem is the sidemenu doesn’t highlight the view details and the creating new page. Which means it isn’t on the child?
loadChildren: () => import('@app/products/products.module').then((m) => m.ProductsModule),
Source: Angular Questions