From 54090d776613f9e7bac6a77a037412b285222d58 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 5 Oct 2010 10:50:16 -0700 Subject: ng:include should remove the reference to childScope when src is blank --- src/widgets.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets.js b/src/widgets.js index c9dfab99..83a784f1 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -273,6 +273,7 @@ angularWidget('ng:include', function(element){ childScope.$init(); }); } else { + childScope = null; element.html(''); } }); -- cgit v1.2.3