diff options
| author | Niall Smart | 2013-07-01 19:44:52 -0700 | 
|---|---|---|
| committer | Pete Bacon Darwin | 2013-07-02 10:01:02 +0100 | 
| commit | 48eb297c1130fd08b22ba2bae032d3a5339c8615 (patch) | |
| tree | 40f072f3f5e47713fc5fafd6abca99c69886bca0 | |
| parent | 52c538c26932816a1ea4805490dc2673f82bf901 (diff) | |
| download | angular.js-48eb297c1130fd08b22ba2bae032d3a5339c8615.tar.bz2 | |
docs(guide/location): fix example code - `hashPrefix` is a method
| -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: | 
