This is a directive for rendering other components dynamically in a template.
<ng-container *ngComponentOutlet="fnReturningComponentClass()" />
// function might look like:
fnReturningComponentClass() {
return this.isAdmin() ? AdminDashboard : NormalDashboard
}
// Where AdminDashboard etc. is a normal component