I have problem when I use $ionicPopup on IE and Microsoft Edge

I have this code:

$scope.showConfirm = function() {
var confirmPopup = $ionicPopup.confirm({
title: $translate.instant(‘Popup Title’),
template: $translate.instant(‘Popup Message’)
});
};
It works good on Chrome, but in IE and Microsoft Edge, when showing popup automatically sends me to the home, and not keep the current page. Someone could help me please.

Why do you want it to work on Microsoft Edge ?

Ionic was made for WebKit browsers.

I need my application works in all possible browsers

Don’t get me wrong but that’s unrealistic.

Ionic is made for mobile development in web-kit browsers. You can still use it in desktop browsers but again only if they’re web-kit based.

It may or may not work in other browsers. They’re not going to be supported, probably never. If you need an AngularJS based UI framework use any other desktop based variation: http://www.gajotres.net/comprihensive-list-of-angularjs-frameworks-proscons/

Why limit yourself to something that was never made to work with IE or Edge?