I have a \'route\' in Angular JS as follows
$routeProvider.when(\'/foos/:fooId\', { controller: FooController, templateUrl: \'foo.html\'});
include $locationProvider.hashPrefix(''); in your config.