When I put a condition in
*<div ngIf="show" #testOutlet>
public show: boolean.
constructor(
private dynamicComponentLoader: DynamicComponentLoader,
private dialog: MatDialog
) {
this.show = true
}
It does not show anything, is like the component is not created.
Even if I put the condition outside the div in a .
The conditional works fine in angular 6. I'm migrating to angular 8 and here is where it stops working.