I have the following routes in an angular module
const routes: Route[] = [
{path: '', component: AdminProductsComponent, pathMatch: 'full'},
{path: 'products', component: AdminProductsComponent, pathMatch: 'full'},
{ path: "products/:id", component: AdminProductDetailsComponent },
{ path: "products/:id/edit", component: EditProductComponent },
{ path: "orders", component: AdminOrdersComponent },
{ path: "orders/:id", component: AdminOrderDetailsComponent },
{ path: 'products/new', component: NewProductComponent },
];
But whenever I navigate to /products/new in the browser, AdminProductDetailsComponent gets loaded with the id param set to 'new'. How can I specify that the :id param in the 'products/:id' path must be an integer