sourceUriPath being recalculated when search params is changed ($scope.path changes)