I'm new in angular and I was wondering if it's possible to load and module and its components I made based on a conditional on the app.module or where would it be the best place to do this.
Basically I want to do something like:
if(user.deparment === 'coms') {
//Use the communications.module and its components
}
I have attached some picture so you guys can see the structure of the app. if necessary I can add the code instead of a picture.