diff options
| -rw-r--r-- | docs/content/guide/dev_guide.services.$location.ngdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/guide/dev_guide.services.$location.ngdoc b/docs/content/guide/dev_guide.services.$location.ngdoc index 99a75f87..fdfa2b0b 100644 --- a/docs/content/guide/dev_guide.services.$location.ngdoc +++ b/docs/content/guide/dev_guide.services.$location.ngdoc @@ -212,7 +212,7 @@ In this mode, `$location` uses Hashbang URLs in all browsers. it('should show example', inject( function($locationProvider) { $locationProvider.html5Mode(false); - $locationProvider.hashPrefix = '!'; + $locationProvider.hashPrefix('!'); }, function($location) { // open http://host.com/base/index.html#!/a @@ -261,7 +261,7 @@ having to worry about whether the browser displaying your app supports the histo it('should show example', inject( function($locationProvider) { $locationProvider.html5Mode(true); - $locationProvider.hashPrefix = '!'; + $locationProvider.hashPrefix('!'); }, function($location) { // in browser with HTML5 history support: |
