Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I notice that when I passed a parameter that is an array to $location.search(), it was encoded as in the following example

$location.path('/somePath').search('ids[]=', [1, 2, 3]);

becomes

/somePath?ds%5B%5D=1&ds%5B%5D=2&ds%5B%5D=3

Is there a way to avoid the url encoding?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.