Possible Duplicate:
AngularJS - Route - How to match star (*) as a path
How do I specify wildcards in my routes -
$routeProvider
.when('/admin/*', {
templateUrl: 'admin.html',
controller: 'AdminCtrl'
})
So the above should work for /admin/users and /admin/users/1 or /admin/org/3. So there could be either one or two levels of path after admin. How do I do it ?