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

Commit 3a71c1e

Browse files
shairezbtford
authored andcommitted
doc(guide): Fix examples of $location.html5mode
1 parent ef7a61a commit 3a71c1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ In this mode, `$location` uses Hashbang URLs in all browsers.
211211
<pre>
212212
it('should show example', inject(
213213
function($locationProvider) {
214-
$locationProvider.html5mode = false;
214+
$locationProvider.html5Mode(false);
215215
$locationProvider.hashPrefix = '!';
216216
},
217217
function($location) {
@@ -260,7 +260,7 @@ having to worry about whether the browser displaying your app supports the histo
260260
<pre>
261261
it('should show example', inject(
262262
function($locationProvider) {
263-
$locationProvider.html5mode = true;
263+
$locationProvider.html5Mode(true);
264264
$locationProvider.hashPrefix = '!';
265265
},
266266
function($location) {

0 commit comments

Comments
 (0)