I am building a front-end in Angular 6, and I will need a couple of components that need to have different html structures based on who is logged in.
This can vary from 2 to 20+ different templates, so I would really like to be able to have those in different files, and point the templateUrl to the correct file instead of using *ngIf to decide what part of a template should render.
Is there any possible way to do this?