How to remove component from DOM?
<p>I am wondering how I can remove my component form DOM manually? I've been looking at <code>ElementRef</code>, and found some work arounds there, but I've been wondering if there is any function dedicated to do this?</p>

<p>My set up is the following:</p>

<p>I've got a <code>Loader</code> component, that is called via EventEmitter. I am adding it to a view by <code>DynamicComponentLoader.loadNextToLocation(..)</code>, and then I want to remove it from the view. </p>

<p>I've also found <code>Renderer.destroyView(component)</code>, but this yields me to errors.</p>

<p>Thanks</p>