From ec302077227bfd88a2ea087599f13187da2ce3a1 Mon Sep 17 00:00:00 2001 From: Archer Date: Sat, 28 Jun 2014 18:51:53 +0900 Subject: [PATCH] docs(guide/$location): fix a typo Change "window.location.path" to "window.location.pathname". --- docs/content/guide/$location.ngdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content/guide/$location.ngdoc b/docs/content/guide/$location.ngdoc index e93e1e5259ea..c741c45d054e 100644 --- a/docs/content/guide/$location.ngdoc +++ b/docs/content/guide/$location.ngdoc @@ -60,7 +60,7 @@ changes to $location are reflected into the browser address bar. aware of docroot/context from which the application is loaded - no - window.location.path returns "/docroot/actual/path" + no - window.location.pathname returns "/docroot/actual/path" yes - $location.path() returns "/actual/path"