Angular 4 optional application modul loading -
i'am stuck problem, want make angular project base dashboard code , 10 modules.
but when sell app, costumers can select modules need use paid for.
so want modify 1 file load specific modules , build without editing sidebar new menu elements.
is there can this?
i think taking subscription. if yes need authguard
, routes
control route.
go official website more details https://angular.io/guide/router
simply use canactivate
write logic prevent users accessing module have not subscribed
Comments
Post a Comment