Use the $locationProvider
to configure how the application deep linking paths are stored.
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) | boolean Object | If boolean, sets
|
Object |
html5Mode object if used as getter or itself (chaining) if used as setter |
© 2010–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.4.14/docs/api/ng/provider/$locationProvider