I have side-menu organized application following the “ionic start myApp sidemenu” example.
I have two main menu items in the top level menu “matches” and “opponents”. The “opponents” menu slides out to a list of “opponents”. From this view the user can Create new Opponents or delete existing opponents. Selecting a particular opponent allows the user to see and update details about the opponent. The “matches” menu slides out t a list of “matches”. From this view the user can Create new Matches or delete existing matches. Selecting a particular match allows the user to see and update details about the match.
Matches must have two and only two opponents. In the update view of a match I want to allow the user to select opponents from the list of opponents. In an ideal world I want to re-use the UI and business logic that I have already created for managing the list of opponents including creating new opponents. I originally thought this could work by simply routing the user back to the list of wrestlers. But here is the problem how would I have selection loop back to the update match view instead of giving details about the opponent.
In native Android development I could accomplish this with intents, what is the equivalent in ionic?