Its a known bug for Ionic 1.0.0-beta1 https://github.com/driftyco/ionic/issues/1145
Try this fiddle http://jsfiddle.net/JAUxG/
posting code because its required:
angular
.module('ionic.example', ['ionic'])
.controller('PopupCtrl', function($scope, $ionicPopup) {
$scope.showPrompt = function() {
$ionicPopup.prompt({
title: 'ID Check',
subTitle: 'What is your name?'
}).then(function(res) {
console.log('Your name is', res);
});
};
});
I changed the version of Ionic to the latest nightly build: http://code.ionicframework.com/nightly/js/ionic.bundle.js
which can be found here: http://code.ionicframework.com/#nightly