One of the most confusing aspects of using Ionic is when and how to leverage eventing for communication between various components. Let's take a look at the various scenarios and different ways to handle the data flow:
resolveobject declared at the route level and pass it to the controller just as a factory. Another option is to pass data as a parameter in
$stateParamsso that the controller for that specific state can receive data.
$stateParams, or factory. If it's just a simple piece of data, mainly ...