Ionic popover passing data


I have a ng-repeat and want to pass data to ionic popover but don’t know how to do it

       <div ng-repeat="availability in ctrl.Availability">
            <div class="item item-small-letter item-text-wrap">
                    <button ng-click="$event)" class="popover-top button button-icon ion-gear-a"></button>


    <div class="list">
        <a class="item" ui-sref="app.main.edit">
        <a class="item">

how to pass to the ionic popover template data? I want to pass the availability ID so it can delete the proper item.