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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -