Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 384c248

Browse files
archer308rodyhaddad
authored andcommitted
docs(guide/$location): fix a typo
Change "window.location.path" to "window.location.pathname". Closes #8012
1 parent a87ffe3 commit 384c248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/$location.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ changes to $location are reflected into the browser address bar.
6060

6161
<tr>
6262
<td class="head">aware of docroot/context from which the application is loaded</td>
63-
<td>no - window.location.path returns "/docroot/actual/path"</td>
63+
<td>no - window.location.pathname returns "/docroot/actual/path"</td>
6464
<td>yes - $location.path() returns "/actual/path"</td>
6565
</tr>
6666

0 commit comments

Comments
 (0)