mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +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
b86815fb5b
commit
6b63afe2f7
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ To configure the `$location` service, retrieve the
|
|||
|
||||
- **hashPrefix(prefix)**: {string}<br />
|
||||
prefix used for Hashbang URLs (used in Hashbang mode or in legacy browser in Html5 mode)<br />
|
||||
default: `'!'`
|
||||
default: `""`
|
||||
|
||||
### Example configuration
|
||||
<pre>
|
||||
|
|
|
|||
Loading…
Reference in a new issue