I'm working on some Angular JS SPA .
I'm trying to understand if from architecture perspective it is correct to use angular services for holding\sharing data between views or should I use some caching mechanism.
My need is to hold and share any REST response and fetch again by demand.
Unfortunately I couldn't get clear answer if services is the correct place for holding the data.
Please advice based on your experience.
Thanks.
Yes Service is best for holding your data or sharing data between controllers.
Thanks