From 48eb297c1130fd08b22ba2bae032d3a5339c8615 Mon Sep 17 00:00:00 2001 From: Niall Smart Date: Mon, 1 Jul 2013 19:44:52 -0700 Subject: docs(guide/location): fix example code - `hashPrefix` is a method --- docs/content/guide/dev_guide.services.$location.ngdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/content') 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: -- cgit v1.2.3