diff options
Diffstat (limited to 'docs/src/templates/docs.js')
| -rw-r--r-- | docs/src/templates/docs.js | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/src/templates/docs.js b/docs/src/templates/docs.js index b50333a5..2693da64 100644 --- a/docs/src/templates/docs.js +++ b/docs/src/templates/docs.js @@ -148,9 +148,12 @@ function TutorialInstructionsCtrl($cookieStore) { }; } -angular.service('$locationConfig', function() { - return { +window.angular = window.angular || {}; +angular.module = angular.module || {}; + +angular.module.ngdocs = function($provide) { + $provide.value('$locationConfig', { html5Mode: true, hashPrefix: '!' - }; -}); + }); +}; |
