From 33e1bdc543bcb7875dcc004d487333393670ed2d Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Sun, 16 Feb 2014 22:02:31 +0000 Subject: chore(errors): rename folders to match namespaces --- docs/content/error/$location/ihshprfx.ngdoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docs/content/error/$location/ihshprfx.ngdoc (limited to 'docs/content/error/$location/ihshprfx.ngdoc') 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). -- cgit v1.2.3