From 485acefc370cc89a00c2f4b4853a425c6aa8e172 Mon Sep 17 00:00:00 2001 From: archer308 Date: Fri, 13 Jun 2014 15:34:25 +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"