Send data to another tab via the "ion-option-button"?

0

How can I send data from one tab to another tab by clicking on the "ion-option-button" component? This target tab will have a form, the intent is to edit the data contained in a "". Data for display I could do through:

'<ion-item class="item-remove-animate item-avatar item-icon-right" ng-repeat="chat in chats" type="item-text-wrap" href="#/tab/chats/{{chat.id}}">'
    
asked by anonymous 31.08.2015 / 16:40

1 answer

0

I've done this before by passing parameters in URLs, but experience has shown me that it's better to set up a factory and write the data there. It gets more organized and centralized. But it also depends on the nature of your data and such.

    
24.11.2015 / 15:07