How can I close an angular dialog in the DeleteIndicatorConfirm function when it was opened in another function?
$scope.indicatoritems = this.item3;
var modalInstance = ngDialog.openConfirm({
template: 'modaldeleteindicator',
className: 'ngdialog-theme-default',
scope: $scope,
});
}
$scope.DeleteIndicatorConfirm = function () {
};