angular.js - ui-router problem setting routing parameters
PHPz2017-05-15 16:58:54
0
2
517
ui-router sets a route '/article/:tag'. When loading the corresponding view for the first time, there is no need to pass in parameters, but the access error says that the route is illegal. Please ask the experts how to solve this problem? ?
Shouldn’t we add a view to
/article
?