aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/content/error/location/ipthprfx.ngdoc8
-rw-r--r--docs/content/error/location/nopp.ngdoc4
2 files changed, 8 insertions, 4 deletions
diff --git a/docs/content/error/location/ipthprfx.ngdoc b/docs/content/error/location/ipthprfx.ngdoc
new file mode 100644
index 00000000..afbcda3f
--- /dev/null
+++ b/docs/content/error/location/ipthprfx.ngdoc
@@ -0,0 +1,8 @@
+@ngdoc error
+@name $location:ipthprfx
+@fullName Invalid or Missing Path Prefix
+@description
+
+This error occurs when you configure the {@link api/ng.$location `$location`} service in the html5 mode, specify a base url for your application via `<base>` element and try to update the location with a path that doesn't match the base prefix.
+
+To resolve this issue, please check the base url specified via the `<base>` tag in the head of your main html document, as well as the url that you tried to set the location to.
diff --git a/docs/content/error/location/nopp.ngdoc b/docs/content/error/location/nopp.ngdoc
deleted file mode 100644
index 3d95b7ff..00000000
--- a/docs/content/error/location/nopp.ngdoc
+++ /dev/null
@@ -1,4 +0,0 @@
-@ngdoc error
-@name $location:nopp
-@fullName Missing Path Prefix
-@description