diff options
| author | Shai Reznik | 2013-01-09 00:18:47 +0200 |
|---|---|---|
| committer | Brian Ford | 2013-01-17 23:43:13 -0500 |
| commit | d521619c58ccd5c5a58776d19b247061ed3956c6 (patch) | |
| tree | 0e90e4c7fee6075f124940aaeeba9c69ee239580 /docs/content/guide | |
| parent | 5ae63fd385295d5a7bbdc79466f59727dcab1c85 (diff) | |
| download | angular.js-d521619c58ccd5c5a58776d19b247061ed3956c6.tar.bz2 | |
doc(guide): Fix examples of $location.html5mode
Diffstat (limited to 'docs/content/guide')
| -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 81fd0021..7a607299 100644 --- a/docs/content/guide/dev_guide.services.$location.ngdoc +++ b/docs/content/guide/dev_guide.services.$location.ngdoc @@ -211,7 +211,7 @@ In this mode, `$location` uses Hashbang URLs in all browsers. <pre> it('should show example', inject( function($locationProvider) { - $locationProvider.html5mode = false; + $locationProvider.html5Mode(false); $locationProvider.hashPrefix = '!'; }, function($location) { @@ -260,7 +260,7 @@ having to worry about whether the browser displaying your app supports the histo <pre> it('should show example', inject( function($locationProvider) { - $locationProvider.html5mode = true; + $locationProvider.html5Mode(true); $locationProvider.hashPrefix = '!'; }, function($location) { |
