-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Description
Angular $location has support for setting/getting query parameters that are repeated and treat them as arrays. It would be great to have this supported in ui-router.
Some example usage:
var arrayState = {
// ...
url: "/index?array" // or via params
}
// Activating the state
$state.go(arrayState, {array: ["1", "2", "3"]});
// ... would change the location to /index?array=1&array=2&array=3
$stateParams.array would also be constructed from the location into an array of course.