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
Post a Comment