mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-03-27 01:04:19 +08:00
ng:include should remove the reference to childScope when src is blank
This commit is contained in:
@@ -273,6 +273,7 @@ angularWidget('ng:include', function(element){
|
||||
childScope.$init();
|
||||
});
|
||||
} else {
|
||||
childScope = null;
|
||||
element.html('');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user