aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/error/$location/ihshprfx.ngdoc
diff options
context:
space:
mode:
authorPeter Bacon Darwin2014-02-16 22:02:31 +0000
committerPeter Bacon Darwin2014-02-16 22:02:41 +0000
commit33e1bdc543bcb7875dcc004d487333393670ed2d (patch)
tree7ff1f564ab486f049b7e9e5ad946a6a88bb651b6 /docs/content/error/$location/ihshprfx.ngdoc
parent49f90e559ed412402ad7444bc2db2bc1c182ddf5 (diff)
downloadangular.js-33e1bdc543bcb7875dcc004d487333393670ed2d.tar.bz2
chore(errors): rename folders to match namespaces
Diffstat (limited to 'docs/content/error/$location/ihshprfx.ngdoc')
-rw-r--r--docs/content/error/$location/ihshprfx.ngdoc17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/content/error/$location/ihshprfx.ngdoc b/docs/content/error/$location/ihshprfx.ngdoc
new file mode 100644
index 00000000..8acab933
--- /dev/null
+++ b/docs/content/error/$location/ihshprfx.ngdoc
@@ -0,0 +1,17 @@
+@ngdoc error
+@name $location:ihshprfx
+@fullName Missing Hash Prefix
+@description
+
+This error occurs when {@link ng.$location $location} service is configured to use a hash prefix but this prefix was not present in a url that the `$location` service was asked to parse.
+
+For example if you configure `$location` service with prefix `'!'`:
+```
+myApp.config(function($locationProvider) {
+ $locationProvider.prefix('!');
+});
+```
+
+If you enter the app at url `http:/myapp.com/#/myView` this error will be throw.
+
+The correct url for this configuration is `http:/myapp.com/#!/myView` (note the `'!'` after `'#'` symbol).