From dcc1fe4ffb22a1e81d8224e7d45495ab7ec6fbf3 Mon Sep 17 00:00:00 2001 From: Chirayu Krishnappa Date: Wed, 19 Jun 2013 15:14:45 -0700 Subject: [PATCH] fix(docs): set ng-app for editing with plunker Closes #3011 --- docs/src/templates/js/docs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/src/templates/js/docs.js b/docs/src/templates/js/docs.js index f1c0e5ec3fad..ddc0405f3ddc 100644 --- a/docs/src/templates/js/docs.js +++ b/docs/src/templates/js/docs.js @@ -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 = '\n' + - '\n' + + '\n' + ' \n' + ' \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