aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/guide/dev_guide.services.$location.ngdoc
diff options
context:
space:
mode:
authorShai Reznik2013-01-09 00:18:47 +0200
committerBrian Ford2013-01-17 23:46:19 -0500
commit3a71c1e595a7a3ed6a816617d0bfce604ca02a22 (patch)
treef24ab68a02f74129570904a42e9d852539f43761 /docs/content/guide/dev_guide.services.$location.ngdoc
parentef7a61a67eaf86129b52bbc57cebaa37deba7fb3 (diff)
downloadangular.js-3a71c1e595a7a3ed6a816617d0bfce604ca02a22.tar.bz2
doc(guide): Fix examples of $location.html5mode
Diffstat (limited to 'docs/content/guide/dev_guide.services.$location.ngdoc')
-rw-r--r--docs/content/guide/dev_guide.services.$location.ngdoc4
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) {