To reproduce:
- Visit this fiddle:http://fiddle.jshell.net/w3e2x/5/show/
- Notice how the array is handled: as a javascript array ("q":[1,2,3,4])
- Now visit this same fiddle giving the same array as a parameter: http://fiddle.jshell.net/w3e2x/5/show/#?q=1,2,3,4
- You might want to open a new window to make sure the page will be reloaded
- Now notice how the arguments are shown, as a string: "q":"1,2,3,4"
The expected behavior would be:
On case 2, $location should return the search arguments as a javascript array ("q":[1,2,3,4]) instead of as a string with objects separated by commas ("q":"1,2,3,4").
To reproduce:
The expected behavior would be:
On case 2, $location should return the search arguments as a javascript array ("q":[1,2,3,4]) instead of as a string with objects separated by commas ("q":"1,2,3,4").