10000 docs(guide/$location): fix a typo · blob42/angular.js@aad502b · GitHub
[go: up one dir, main page]

Skip to content

Commit aad502b

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/$location.ngdoc

Lines changed: 1 addition & 1 deletion
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)
0