Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ca247c

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 b16bffb commit 5ca247c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)