Is it possible to create a dynamic route in AngularJS that would return an array of values similar to how we pass parameters in a GET request? For example, like this: (/id[]=1&id[]=2..) I am unsure if AngularJS has a straightforward method to achieve this, such as:
/array/of/value/[1,2,3,4]
How can we retrieve this array using ngRoute and $routeProvider?
.when("/list/:arrayOfValue", {templateUrl: "./partials/list.html", controller: "ListController"})