7

I have a requirement where I need to load different version modules based on the data.

Something like monthly data, if some change happens in my module code for the current month, there shouldn't be any change in the view/logic from the previous month page, the data remains same and so the view as well.

I am planning to create custom libraries for each module with the versions. With this, I can map my data with the module version.

Since my app is big and involves so many modules and versions, I cannot carry all the versions of the module/library to the client with the bundle.

Can someone suggest a better way to handle this requirement?

Z. Bagley
  • 7,705
  • 1
  • 30
  • 46
harishkumar329
  • 1,032
  • 3
  • 15
  • 31
  • 3
    This question is a bit unclear on what you're attempting to accomplish. Example strategies you've considered, example code you've implemented, or even a higher level of elaboration will help. Without more information it's unlikely this question will be able to be answered. – Z. Bagley Sep 13 '17 at 14:01
  • Can you give more information about Loading different versions of Libraries. – karthik gorijavolu Sep 13 '17 at 17:41

1 Answers1

1

Your question is little ambiguous, specifically the title. What I understood you like to load different part of your angular app based to need. You can divide the app in multiple module and load based on your need. You may take a look at this Please clarify if you are looking for something else.

Rabbani
  • 61
  • 6