aboutsummaryrefslogtreecommitdiffstats
path: root/src/widgets.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets.js')
-rw-r--r--src/widgets.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets.js b/src/widgets.js
index 336813aa..b70c4dcb 100644
--- a/src/widgets.js
+++ b/src/widgets.js
@@ -260,6 +260,8 @@ angularWidget('ng:include', function(element){
compiler.compile(element)(element, childScope);
childScope.$init();
});
+ } else {
+ element.html('');
}
});
};