Vote count: 0 Using Angular 2.0 (final), how can I obtain the ViewContainerRef of a DOM element created by an exteal, non-Angular library, after app/Component bootstrapping/rendering has occurred? I had previously used DynamicComponentLoader.loadNextToLocation(), but that was deprecated as of RC5. The Problem (TL;DR) I'm attempting to use Angular 2.0 to insert a dynamically-created Component inside of a popup window that is generated at runtime by an exteal, non-Angular library (specifically, an InfoWindow/Popup for an ESRI ArcGIS JavaScript API 3.x Map). Since the popup window is generated entirely by the exteal library after app bootstrap and the parent Component's ngAfterViewInit()/ngAfte...
ادامه مطلب