mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-30 05:45:44 +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();
|
childScope.$init();
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
childScope = null;
|
||||||
element.html('');
|
element.html('');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user