Hi, I was reading through this tutorial, http://learn.ionicframework.com/formulas/sharing-data-between-views/ about sharing data between controllers. I have been using factories to do this for awhile and seems to be a common practice people do. In the tutorial, a service is used not a factory. Now I am confused which one I SHOULD be using. Can you help me understand which I should be using?
The differences between the two are more internal to angular. You could use either factory or service without any issues.
Here’s a good post about the differences
Here’s another one.
Sounds like if you’re getting started just use a service.
Awesome! Thanks guys.