mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
parent
097947fd3b
commit
99e85fc9b5
1 changed files with 2 additions and 1 deletions
|
|
@ -331,7 +331,7 @@ docsApp.serviceFactory.openPlunkr = function(templateMerge, formPostData, angula
|
|||
return function(content) {
|
||||
var allFiles = [].concat(content.js, content.css, content.html);
|
||||
var indexHtmlContent = '<!doctype html>\n' +
|
||||
'<html ng-app>\n' +
|
||||
'<html ng-app="{{module}}">\n' +
|
||||
' <head>\n' +
|
||||
' <script src="{{angularJSUrl}}"></script>\n' +
|
||||
'{{scriptDeps}}\n' +
|
||||
|
|
@ -347,6 +347,7 @@ docsApp.serviceFactory.openPlunkr = function(templateMerge, formPostData, angula
|
|||
}
|
||||
});
|
||||
indexProp = {
|
||||
module: content.module,
|
||||
angularJSUrl: angularUrls['angular.js'],
|
||||
scriptDeps: scriptDeps,
|
||||
indexContents: content.html[0].content
|
||||
|
|
|
|||
Loading…
Reference in a new issue