Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

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

Open
bramcordie opened this issue Jun 1, 2016 · 0 comments

Comments

@bramcordie
Copy link

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant