When passing an array as search query through the param using the [uiPrams] everything work as expected where the param is returned as array of string. However, passing the search query through the url such as ?param=test1¶m=test2 the app is returning a string (test2) instead of array of string.
When passing an array as search query through the param using the [uiPrams] everything work as expected where the param is returned as array of string. However, passing the search query through the url such as ?param=test1¶m=test2 the app is returning a string (test2) instead of array of string.
Plunker example has 2 link where one is using the uiSref, the other one is using the href https://plnkr.co/edit/HNeb0egtVUFUt7eNPpfZ?p=preview
I believe the issue is caused by this line in location.ts
The applyPairs function return key, value assumed that keys are unique.