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").