aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/docs.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/templates/docs.js')
-rw-r--r--docs/src/templates/docs.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/src/templates/docs.js b/docs/src/templates/docs.js
index 3a02e990..6b76a953 100644
--- a/docs/src/templates/docs.js
+++ b/docs/src/templates/docs.js
@@ -49,7 +49,9 @@ function DocsController($location, $window, $cookies, $filter) {
};
scope.getCurrentPartial = function() {
- return this.partialId ? ('./partials/' + this.sectionId + '/' + this.partialId + '.html') : '';
+ return this.partialId
+ ? ('./partials/' + this.sectionId + '/' + this.partialId.replace('angular.Module', 'angular.IModule') + '.html')
+ : '';
};
scope.getClass = function(page) {