Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a98931d

Browse files
gdenniepetebacondarwin
authored andcommitted
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 angular#4103
1 parent 7e5154e commit a98931d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/content/guide/dev_guide.services.$location.ngdoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ changes to $location are reflected into the browser address bar.
1414
- Exposes the current URL in the browser address bar, so you can
1515
- Watch and observe the URL.
1616
- Change the URL.
17-
- Synchronizes the URL with the browser when the user
18-
- Changes the address bar.
19-
- Clicks the back or forward button (or clicks a History link).
20-
- Clicks on a link.
17+
- Maintains synchronization between itself and the browser's URL when the user
18+
- Changes the address in the browser's address bar.
19+
- Clicks the back or forward button in the browser (or clicks a History link).
20+
- Clicks on a link in the page.
2121
- Represents the URL object as a set of methods (protocol, host, port, path, search, hash).
2222

2323

0 commit comments

Comments
 (0)