SyntaxFix
Write A Post
Hire A Developer
Questions
It looks like Angular has support for this now.
From the latest (v1.2.0) docs for $routeProvider.when(path, route):
$routeProvider.when(path, route)
path can contain optional named groups with a question mark (:name?)
path
:name?