-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Modules #7
Comments
@AlisonVilela take a look about CoreModules here: ngModule. I think it could solve your problem |
Yeah @AlexandreKavalerski , I have a For example.:
In start the app, I define the roles When I import So, when I import I thing |
|
Only the root |
@JavadRasouli Ok, but I need to import |
@AlisonVilela We have the same problem with lazy-loading module. |
@jmparra very interesting, @JavadRasouli if we configure |
Hi all, I already try to clear yarn cache by yarn cache clean angular2-permission but without good result |
I have a problem when I use
[hasPermission]="role"
in sub-modules, I importedNg2Permission
in myapp.module
and if I import intoanother.module
for use that, is created another instance forPermissionService
and all business rules about permissions will been lost.@JavadRasouli do you have any suggestion?
The text was updated successfully, but these errors were encountered: