Use the $locationProvider to configure how the application deep linking paths are stored.
The default value for the prefix is '!'.
| Param | Type | Details |
|---|---|---|
| prefix (optional) | string | Prefix for hash part (containing path and search) |
* |
current value if used as getter or itself (chaining) if used as setter |
| Param | Type | Details |
|---|---|---|
| mode (optional) | booleanObject | If boolean, sets
|
Object |
html5Mode object if used as getter or itself (chaining) if used as setter |
© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.7.8/docs/api/ng/provider/$locationProvider