Become a member
to unlock all features

    Destroy a Dynamically Instantiated Angular Component

    5 - 6

    With our dynamic tabs we also want to give our users the possibility to close them again. As such we also need to account for destroying our dynamically created components. In this lesson we will learn how the ViewContainerRef can help us with that.