我想提供一個動態路由與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後過濾陣列 –