This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$location.search does not remove query args when pass in an object #6565
Closed
Description
When the following code is used to remove query args from location url, it worked as expected:
$location.search('sid', null);
$location.search('time', null);
$location.search('sign', null);
But, the following code does not work as expected:
$location.search({
sid: null,
time: null,
asign: null
});
Please correct if this is the correct behavior of $location.search