title: AngularJS: avoid url encoding with $location
body: <p>I notice that when I passed a parameter that is an array to $location.search(), it was encoded as in the following example</p>
  
  <p>$location.path('/somePath').search('ids[]=', [1, 2, 3]);</p>
  
  <p>becomes</p>
  
  <p>/somePath?ds%5B%5D=1&amp;ds%5B%5D=2&amp;ds%5B%5D=3</p>
  
  <p>Is there a way to avoid the url encoding?</p>