aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/templates/docs.js11
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: '!'
- };
-});
+ });
+};