$ionicPopup freezes app after updating from 1.3.1 to 1.3.5

Hi All,

I have used this for a long time:

        $ionicPopup.show({
            title: title,
            subTitle: text,
            cssClass: 'popup',
            buttons: [
                {
                    text: 'OK',
                    onTap: function(e) {
                        d.resolve();
                    }
                }
            ]
        });

But after updating to ionic-angular version 1.3.5 recently, the app freezes after closing the popup?

I fixed this by wrapping it in a $timeout… don’t know why this works. Any other suggestions are still welcome?