Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 6b63afe

Browse files
scommajbdeboer
authored andcommitted
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
1 parent b86815f commit 6b63afe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/guide/dev_guide.services.$location.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ To configure the `$location` service, retrieve the
9898

9999
- **hashPrefix(prefix)**: {string}<br />
100100
prefix used for Hashbang URLs (used in Hashbang mode or in legacy browser in Html5 mode)<br />
101-
default: `'!'`
101+
default: `""`
102102

103103
### Example configuration
104104
<pre>

0 commit comments

Comments
 (0)