This is pretty straight forward, see the following example:
var pinPopup = $ionicPopup.show({ templateUrl : 'app/user-profile/user-pin.html', title: '4-digit Security PIN', scope : $scope, cssClass: 'my-popup', buttons : [ { text : 'Cancel', }, { text : '<b>Save</b>', type: 'button-positive', onTap : function(e) { var val = document.getElementById('pin-output').value; $scope.userRow.password = val; } } ] })
Now in your CSS just do:
.my-popup .popup { width: 400px; }
Nicholas kreidberg
source share