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

Commit f7fde93

Browse files
gkalpakpkozlowski-opensource
authored andcommitted
docs($location): fix method-name and typos in ihshprfx error
Closes #10106
1 parent 5f55289 commit f7fde93

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/error/$location/ihshprfx.ngdoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ This error occurs when {@link ng.$location $location} service is configured to u
88
For example if you configure `$location` service with prefix `'!'`:
99
```
1010
myApp.config(function($locationProvider) {
11-
$locationProvider.prefix('!');
11+
$locationProvider.hashPrefix('!');
1212
});
1313
```
1414

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

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

0 commit comments

Comments
 (0)