AngularJS: Routing with URL having optional parameters
Optional route parameters are marked with ?
, like this:
`/users/:id?`
Then this route matches both /users
and /users/1
paths
Optional route parameters are marked with ?
, like this:
`/users/:id?`
Then this route matches both /users
and /users/1
paths