Ionic Popup intput text box default value


#1

Hi i have to give default value for a textbox in ionic popup to be shown when it loads/

My Code is

var promptPopup = $ionicPopup.prompt({
		title: 'Change current location',
		template: 'Change current location',
		inputPlaceholder: $rootScope.currentLocation

		
	});