Infosys / enterprise-angular-seed

Angular CLI based seed application incorporating many best practices typically needed in Enterprise apps.
https://infosys.github.io/enterprise-angular-seed
59 stars 18 forks source link

feature: Authorization guard for routes using ngx-permission #6

Open dharapvj opened 6 years ago

dharapvj commented 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.