Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 99e85fc

Browse files
committed
fix(docs): set ng-app for editing with plunker
Closes #3011
1 parent 097947f commit 99e85fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/templates/js/docs.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ docsApp.serviceFactory.openPlunkr = function(templateMerge, formPostData, angula
331331
return function(content) {
332332
var allFiles = [].concat(content.js, content.css, content.html);
333333
var indexHtmlContent = '<!doctype html>\n' +
334-
'<html ng-app>\n' +
334+
'<html ng-app="{{module}}">\n' +
335335
' <head>\n' +
336336
' <script src="{{angularJSUrl}}"></script>\n' +
337337
'{{scriptDeps}}\n' +
@@ -347,6 +347,7 @@ docsApp.serviceFactory.openPlunkr = function(templateMerge, formPostData, angula
347347
}
348348
});
349349
indexProp = {
350+
module: content.module,
350351
angularJSUrl: angularUrls['angular.js'],
351352
scriptDeps: scriptDeps,
352353
indexContents: content.html[0].content

0 commit comments

Comments
 (0)