Open dharapvj opened 6 years ago
Right now ngx-permisson only uses directives to show hide content on screen. Add example of ngx-permissions to guard the routes (also use canLoad rather than canActivate) to prevent loading the bundle itself.
canLoad
canActivate
Right now ngx-permisson only uses directives to show hide content on screen. Add example of ngx-permissions to guard the routes (also use
canLoad
rather thancanActivate
) to prevent loading the bundle itself.