mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-19 20:01:52 +00:00
docs(guide): Update $locationProvider docs.
Default hashPrefix setting is not `'!'`, it's actually `""`. Source: https://github.com/angular/angular.js/blob/master/src/ng/location.js#L472
This commit is contained in:
parent
b16bffbf76
commit
5ca247c749
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ To configure the `$location` service, retrieve the
|
||||||
|
|
||||||
- **hashPrefix(prefix)**: {string}<br />
|
- **hashPrefix(prefix)**: {string}<br />
|
||||||
prefix used for Hashbang URLs (used in Hashbang mode or in legacy browser in Html5 mode)<br />
|
prefix used for Hashbang URLs (used in Hashbang mode or in legacy browser in Html5 mode)<br />
|
||||||
default: `'!'`
|
default: `""`
|
||||||
|
|
||||||
### Example configuration
|
### Example configuration
|
||||||
<pre>
|
<pre>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue