docs(guide/$location): fix a typo

Change "window.location.path" to "window.location.pathname".

Closes #8012
This commit is contained in:
Archer
2014-06-28 18:51:53 +09:00
committed by rodyhaddad
parent a87ffe37bf
commit 384c24808f

View File

@@ -60,7 +60,7 @@ changes to $location are reflected into the browser address bar.
<tr>
<td class="head">aware of docroot/context from which the application is loaded</td>
<td>no - window.location.path returns "/docroot/actual/path"</td>
<td>no - window.location.pathname returns "/docroot/actual/path"</td>
<td>yes - $location.path() returns "/actual/path"</td>
</tr>