How do I prevent angular-ui modal from closing?
While you creating your modal you can specify its behavior:
$modal.open({
// ... other options
backdrop : 'static',
keyboard : false
});
backdrop : 'static'
Will work for 'click' events but still you can use "Esc" key to close the popup.
keyboard :false
to prevent popup close by "Esc" key.
Thanks to pkozlowski.opensource for answer.
I think question is duplicate of Angular UI Bootstrap Modal - how to prevent user interaction