angular / router

The Angular 1 Component Router
MIT License
665 stars 135 forks source link

Using $location.search() adds both a matrix uri attribute and a query parameter #420

Open bramcordie opened 8 years ago

bramcordie commented 8 years ago

When using the search method on the $location service to set a parameter, both a Matrix URI attribute and a query parameter are added to the URL.

$location.search('foo', 'bar')
// http://du.de/;foo=bar?foo=bar

$location.search({foo: 'bar', beep: 'boop'})
// http://du.de/;foo=bar;beep=boop?foo=bar&beep=beep