I have two controllers FundsController and FundRequestContoller. FundRequestController is used to show fund request received to an user. And FundsController contains a form which has an option to select on of my friend and amount that a user wish to send to his friend.
And, when ever a user accept a particular fund request by a friend, a state transition should happen to navigate the user from FundRequestController view to FundsController view where the friend id and amount to requested be pre-populated.
I would like to create a json object and share this object with FundsController so that when it is initialized the friend id and amount can be pre-populated using json object.
I dont want to use query params since too much information will be displayed to user in the browser url.
How can I share a json objects from one controller to another controller that can be used to initialize the other controller??