aboutsummaryrefslogtreecommitdiffstats
path: root/src/widgets.js
diff options
context:
space:
mode:
authorVojta Jina2012-02-28 11:51:14 -0800
committerVojta Jina2012-02-28 14:15:44 -0800
commit4c1c50fd9bfafaa89cdc66dfde818a3f8f4b0c6b (patch)
treed4b484531f01fae2a040780c275677be08e30166 /src/widgets.js
parentd1558d7924dec1156784f3b4576880f72213f671 (diff)
downloadangular.js-4c1c50fd9bfafaa89cdc66dfde818a3f8f4b0c6b.tar.bz2
fix(directive.script): Do not compile content of script tags
Diffstat (limited to 'src/widgets.js')
-rw-r--r--src/widgets.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets.js b/src/widgets.js
index 84982dc6..d515d94d 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -783,6 +783,7 @@ var ngPluralizeDirective = ['$locale', '$interpolate', function($locale, $interp
var scriptTemplateLoader = ['$templateCache', function($templateCache) {
return {
+ terminal: true,
compile: function(element, attr) {
if (attr.type == 'text/ng-template') {
var templateUrl = attr.id;