mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
docs(guide/$location): clarify $location service role
Clean up confusing use of the term URL to refer to $location as well as 'URL in the browser'. Closes #4103
This commit is contained in:
committed by
Pete Bacon Darwin
parent
01fdf683cf
commit
94c8378f18
@@ -14,10 +14,10 @@ changes to $location are reflected into the browser address bar.
|
||||
- Exposes the current URL in the browser address bar, so you can
|
||||
- Watch and observe the URL.
|
||||
- Change the URL.
|
||||
- Synchronizes the URL with the browser when the user
|
||||
- Changes the address bar.
|
||||
- Clicks the back or forward button (or clicks a History link).
|
||||
- Clicks on a link.
|
||||
- Maintains synchronization between itself and the browser's URL when the user
|
||||
- Changes the address in the browser's address bar.
|
||||
- Clicks the back or forward button in the browser (or clicks a History link).
|
||||
- Clicks on a link in the page.
|
||||
- Represents the URL object as a set of methods (protocol, host, port, path, search, hash).
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user