mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-04-09 17:41:01 +00:00
ng:include should remove the reference to childScope when src is blank
This commit is contained in:
parent
b08e2be64c
commit
54090d7766
1 changed files with 1 additions and 0 deletions
|
|
@ -273,6 +273,7 @@ angularWidget('ng:include', function(element){
|
|||
childScope.$init();
|
||||
});
|
||||
} else {
|
||||
childScope = null;
|
||||
element.html('');
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue