我想提供一个动态路由与AngularJS并获得一个值的数组,就像我们会做的GET请求参数:(/?id [] = 1 & id [] = 2 ..) 我不知道,如果角度JS提供了一个 “干净” 的方式,如:动态路由与值的数组AngularJS
/array/of/value/[1,2,3,4]
而且随着ngRoute获取数组和$ routeProvider:
.when("/list/:arrayOfValue", {templateUrl: "./partials/list.html", controller: "ListController"})
你可以在这里找到答案,你的问题:http://stackoverflow.com/questions/34601851/动态路由与阵列项目中的angularjs后过滤阵列 –