Store user data: rootScope or Local / Session storage?

Hi all,

I would like to know, what is the best practice ? store user data in rootScope or in LocalStorage ?

Thank you very much

for me it depends to you, like what I have now is saving credentials to localstorage only for automatic log in… but if your data are complicated you should use external or sqlite db for that…