In Angular 16, if you are using an application without an AppModule, where should you put a global custom directive that you imported in the AppModule declarations?
For example I have a directive called hasRole that I used to add to the declarations array of the AppModule in Angular 15 to use it globally. However, I am not using an AppModule in Angular 16. Where should I declare this directive to use it globally?