Question: how to close $uibmodal in angularjs?
Answer: To Close from Instance. angular. module('paymentModal') . controller('PaymentModalController', [ '$uibModalInstance', function ChangeRepaymentController($uibModalInstance) { function onCancel() { $uibModalInstance. close(repaymentPercentage); } } ]);