Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

docs($location): fix method-name and typos in ihshprfx error #10106

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/content/error/$location/ihshprfx.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ This error occurs when {@link ng.$location $location} service is configured to u
For example if you configure `$location` service with prefix `'!'`:
```
myApp.config(function($locationProvider) {
$locationProvider.prefix('!');
$locationProvider.hashPrefix('!');
});
```

If you enter the app at url `http:/myapp.com/#/myView` this error will be throw.
If you enter the app at url `http://myapp.com/#/myView` this error will be thrown.

The correct url for this configuration is `http:/myapp.com/#!/myView` (note the `'!'` after `'#'` symbol).
The correct url for this configuration is `http://myapp.com/#!/myView` (note the `'!'` after `'#'` symbol).