code: function(title, message, cb, okText) {
      cb = cb || function() {};
      $ionicPopup.alert({
        title: title,
        subTitle: message,
        okType: 'button-clear button-primary',
        okText: okText || gettextCatalog.getString('OK'),
      }).then(cb);
    }
docs: ************* Ionic ***************