Parses the browser location url and makes it available to your application. Any changes to the url are reflected into $location service and changes to $location are reflected to url. Notice that using browser's forward/back buttons changes the $location.
Update location object Does not immediately update the browser Browser is updated at the end of $eval()
href – {(string|Object)} –
Full href as a string or object with properties
Update location hash part
path – {(string|Object)} –
A hashPath or hashSearch object
search(optional) – {Object} –
A hashSearch object
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined
undefined