diff --git a/js/ext/angular/src/service/ionicPopup.js b/js/ext/angular/src/service/ionicPopup.js index a708f71603f..6109e6a6d96 100644 --- a/js/ext/angular/src/service/ionicPopup.js +++ b/js/ext/angular/src/service/ionicPopup.js @@ -184,7 +184,7 @@ angular.module('ionic.service.popup', ['ionic.service.templateLoad']) popup.el.classList.add('popup-hidden'); $timeout(function() { - popup.el.remove(); + popup.el.parentNode.removeChild(popup.el); }, 400); }; diff --git a/js/ext/angular/test/popup.html b/js/ext/angular/test/popup.html index 0467f3290bb..caac135a627 100644 --- a/js/ext/angular/test/popup.html +++ b/js/ext/angular/test/popup.html @@ -17,7 +17,42 @@ -
+