aboutsummaryrefslogtreecommitdiffstats
path: root/src/widgets.js
diff options
context:
space:
mode:
authorMisko Hevery2010-09-14 23:42:43 +0200
committerMisko Hevery2010-09-14 23:42:43 +0200
commit2a3a449c6d55cf41a9ceb76608438c0488cbe3c0 (patch)
tree4080dbbaeadab70dee96f9daa1175148924eee2c /src/widgets.js
parent894ffadc8c35da6c7daf3e16a9f4931b24f3b231 (diff)
parentd8e86291c4a92395988f50d883200cdab12f726e (diff)
downloadangular.js-2a3a449c6d55cf41a9ceb76608438c0488cbe3c0.tar.bz2
merge
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('');
}
});
};