I want to make an angular site dealing with files where users can navigate around in a file system tree, (like on github: github.com/angular/angular.js/tree/master/pat
As of Angular 1.1.5 you can use *path
- see here.
path can contain named groups starting with a star (*name). All characters are eagerly stored in
$routeParams
under the given name when the route matches.For example, routes like /color/:color/largecode/*largecode/edit will match /color/brown/largecode/code/with/slashs/edit
As of Angular 1.3, the syntax is :path*
(credit to DRAX in the comments)