I'm migrating from AngularJS 1.1.15 to 1.3.15 and my current issue is getting $modal to work instead of $dialog.
If anyone has any helpful links regarding the migration would be appreciated :) I'm currently handling it per-bug fix.
To my current question: My previous code was looking like:
var msgBox = $dialog.dialog({ ... });
msgBox.open().then(......);
And I changed it to
var msgBox = $modal.open(...);
msgBox.opened.then(......);
So now the issue i'm experiencing is having an IF:
if (msgBox && msgBox.isOpen())
How do I implement it with $modal? From the documentation here I don't see there is a replacement for isOpen.
On most stackoverflow questions I saw people suggesting to use jQuery, but its pretty messy and I rather avoid that.
Thanks for the help