File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
docs/content/error/$location Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ This error occurs when {@link ng.$location $location} service is configured to u
8
8
For example if you configure `$location` service with prefix `'!'`:
9
9
```
10
10
myApp.config(function($locationProvider) {
11
- $locationProvider.prefix ('!');
11
+ $locationProvider.hashPrefix ('!');
12
12
});
13
13
```
14
14
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 .
16
16
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).
You can’t perform that action at this time.
0 commit comments