My function:
$scope.DownloadedUncheck = function (event) {
if (event.target.value === lastChecked) {
delete $scope.$parent.selectedDownloaded
lastChecked = null
} else {
lastChecked = event.target.value
delete $scope.$parent.selectedDownloading
}
};
Here's my plunker : http://plnkr.co/edit/g1t4pludTTIAJYKTToCK?p=preview
I wan't to uncheck radio button after click on it. My code works with normal radio, but not with ui.bootstrap. Thanks for asnwers in advance!