Storage for shared data among pages

#1

Hi people… I am new in Ionic, I have a dude: I have a provider with a variables. In a first page I do changes values of these variables, after in second page I like read the provider’s variables but I do not know how.

Meanwhile I use the storage for this. Exists any another form more elegant? … Thanks for the time. I’m attent

#2

Absolutely. Storage is a really bad fit here due to race conditions. Use a mutually injected service as described in tour of heroes 4.