I am creating a mid-sized angular app and have a need to store data and use it at the end of the user journey to send off to the server (company security policy is one transport of customer data - unless 100% unavoidable - dont ask!)
so I've been doing a little bit of reading as still quite new to angular and think I've decided the best and cleanest way to do this is to have a "dataFactory" or service so as not to pollute the app with a "master controller" etc, etc
my question is, within this service, do I just have a normal variable which I can assign key:values to or is it better to create a cacheFactory within the service to store the data?
what are the pros/cons of each?