Angular JS 'route' doesn't match component with / (encoded '/')

前端 未结 4 831
难免孤独
难免孤独 2021-01-07 20:05

I have a \'route\' in Angular JS as follows

$routeProvider.when(\'/foos/:fooId\', { controller: FooController, templateUrl: \'foo.html\'});

4条回答
提交回复
热议问题