Ionic framework two popups in tandem

I have an ionic app where the user taps a button, then a popup shows up and then the user taps a button in the popup and another one shows up. This works fine in the browser but when I deploy it to an android device, after the second popup closes the page freezes and I can no longer tap the main button on the page.

Here’s a short but complete app demonstrating my problem.

<!DOCTYPE html>
<link href="lib/ionic/css/ionic.css" rel="stylesheet">
<!-- version 1.0.0-beta.9 -->
<script src="lib/ionic/js/ionic.bundle.js"></script>
    angular.module("app", ["ionic"])
        .controller("controller", function ($scope, $ionicPopup, $timeout) {
            var popup1;

            $scope.popup1 = function () {
                popup1 = ${
                    template: '<button ng-click="popup2()">popup2</button>',
                    title: 'popup1',
                    scope: $scope

            $scope.popup2 = function () {
                    title: "Popup 2"
                }).then(function () {
                    $timeout(function () {

<body ng-app="app" ng-controller="controller">
    <button ng-click="popup1()">popup1</button>
1 Like

I’ve the same problem!