angularjs - Dynamically Loaded Functionality per User -


i'm building complex angularjs application. needs have ability incorporate new functionality on per user basis. example application completed , 6 months later need add functionality modal in user's settings. button should available users. month later more functionality required etc. etc.

i wondering best way be.

i plan on trying manually bootstrap angular. new functionality in standalone modules dynamically loaded. there login screen similar every user. after logging in there api call angular modules user bootstrapped , angular loaded up.

another option looking using $inject service require have modules bootstrapped main app begin with. , potentially unlimited number of modules doesn't seem feasible.

any advice appreciated!

decouple everything! keep code open extension , closed modification.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -