I have created a plunkr: http://plnkr.co/edit/gUAvoVK7E3llUlFgWIwF?p=preview
I am trying to create a popover element that has a close button within a repeater. I have it sort of working but it opens both items in the repeater. How can I set it up so that it will only open one at a time and update the angular data when closed?
$scope.timePopover = {
templateUrl: 'editActualTime.html',
title: 'Actual/Est Time',
isOpen: false,
open: function open() {
$scope.timePopover.isOpen = true;
},
close: function close(formActTime) {
$scope.timePopover.isOpen = false;
}
};