I am creating a dynamic component angular. How can I catch the error of rendering the template of this component
@ViewChild(\'vc\', { read: ViewContainerRef }