I have a \"dashboard\" that loads configured elements. Dashboard template has this:
I resolved the issue by adding 'static: false'.
@ViewChild(conf.id, {read: ViewContainerRef, static: false}) var widgetTarget: ViewContainerRef
https://stackoverflow.com/a/41095677/6329980