Return path of current url
Change path when called with parameter and return $location. Note: Path should always begin with forward slash (/), this method will add the forward slash if it is missing.
New path
Return search part (as object) of current url
Change search part when called with parameter and return $location.
When called with a single argument the method acts as a setter, setting the search component of $location to the specified value.
If the argument is a hash object containing an array of values, these values will be encoded as duplicate search parameters in the url.
Change search part when called with parameter and return $location.
New search params
If search is a string or a Number, then paramValue will override only a single search property. If paramValue is null, the property specified via the first argument will be deleted. If paramValue is an array, it will override the property of the search component of $location specified via the first argument. If paramValue is true, the property specified via the first argument will be added with no value nor trailing equal sign.
Generated using TypeDoc
$location - $locationProvider - service in module ng see https://docs.angularjs.org/api/ng/service/$location