angular-confirm
angular-confirm copied to clipboard
Close by controller
I have open the confirm box. Now I want to close this through controller not by clicking the close icon. How can I do that?
Here is the way I close confirm box in contronller
var x = $ngConfirm(options);
//....
// somewhere in the controller u can call this to close that confirm
x.close();