Does anyone know how returns a simple value (or JSON) by clicking on the nav return button on ionic (v2)? I know that navParam is able to send a value on push, but I didn’t find anything about the pop action and connect the return nav button to my new pop action.
You can use modals insted of push.
Modals can send values back, when you leave the page.
Or you can use Events that is in ionic-angular package.
You can see how to use them in docs. It’s explained pretty well!
2 Likes
Thanks you very much