Dispose Angular 2 App or Component
<p>Is there anyway to dispose angular2 app or component? I'm doing a mixed ASP.NET MVC and Angular 2 app which ASP.NET MVC loads partial views including Angular 2 App. Now I need a close button for each partial view to remove itself from the DOM and dispose loaded angular 2 inside the view to avoid memory leak. Is there anyway to kill angular 2 app ?</p>