Good afternoon guys ...
angular
I would like help from you if possible.
I'm having trouble using a policy. We created a directive in a directive directory, (app > directive) but within my form I can not use it. We have 2 directories (company and branch) only company can use the feature of this directive. It does not give error in the module company.module and nor filial.module, but it spits an error in the console and it does not load the page.
This is the error: compiler.js: 485 Uncaught Error: Type IstMaskDirective is part of the declarations of 2 modules: CompanyModule and FilialModule! Please consider moving IstMaskDirective to a higher module that imports CompanyModule and FilialModule. You can also create a new NgModule that exports and includes IstMaskDirective then import that NgModule in EnterpriseModule and FilialModule.