Can I set a default value of a parameter of a route in AngularJS? Is there a way to have /products/123 and /products/ handled by the same route ?>
/products/123
/products/
With url: "/view/:id/:status?", You can indicate an optional parameter.
Just thought someone may need it.