ng:include should remove the reference to childScope when src is blank

This commit is contained in:
Igor Minar
2010-10-05 10:50:16 -07:00
parent b08e2be64c
commit 54090d7766

View File

@@ -273,6 +273,7 @@ angularWidget('ng:include', function(element){
childScope.$init();
});
} else {
childScope = null;
element.html('');
}
});