Ionic Popover in ng-repeat


Hello. I want to add ionic Popover to my application and place in under ng-repeat however I am struggling a bit with this.

How can I pass a parameter to it?

<p ng-repeat="query in ctrl.timesheet">query.Name<button ng-click="openPopover($event)">Open Popover</button></p>

<script id="my-popover.html" type="text/ng-template">
      <h1 class="title">My Popover Title</h1>
    <button ng-click="ctrl.delete(index)">Delete</button>

So in short I want a list of buttons and whenever i click the popover for the button than there is a option to delete the element.