I’m using the $ionicAcionSheet to create multiple buttons with titles based on the object properties returned from my get request.
The docs example shows two buttons responding to the same buttonClicked property function.
I need to get the rest of the properties associated with the object that came back from my get request that the clicked button’s title was referenced from.
Is there a way to set a value on each button created that might point to the index of the object in my returned array of objects?