angular-confirm icon indicating copy to clipboard operation
angular-confirm copied to clipboard

Close by controller

Open anuragsharan opened this issue 7 years ago • 1 comments

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?

anuragsharan avatar Jun 15 '17 18:06 anuragsharan

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();

phplaw avatar Jun 27 '17 05:06 phplaw