I would like to provide a dynamic route with AngularJS and get an array of value, like we would do with GET request parameters : (/?id[]=1&id[]=2..) I do not know if angular js provides a "clean" way like :
/array/of/value/[1,2,3,4]
And get the array with ngRoute and $routeProvider :
.when("/list/:arrayOfValue", {templateUrl: "./partials/list.html", controller: "ListController"})
Aucun commentaire:
Enregistrer un commentaire