Preserving and retrieving data in ionic tab

Hi All,

I am using ion-tab component and displaying all tabs with different fields without any problem.
I want to get entered fields data in first tab or remaining tab from last tab. basically my requirement is i want to save all the entered data in all tabs,when i click on save button in last tab.

Please let me know how i can get entered data in fields in all tabs in last tab.