$location.search('year', $scope.year);
$location.search().year;
clear args in url
remove all args
$location.url($location.path());
$location.search('coords', null);
stackoverflow question
ui-router closed issue