mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-01 12:33:37 +08: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:
committed by
James deBoer
parent
b16bffbf76
commit
5ca247c749
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user