this is the template:
<div class="list">
<label class="item item-radio">
<input type="radio" name="group" ng-model="data.one" />
<div class="item-content">
Value1
</div>
<i class="radio-icon ion-checkmark"></i>
</label>
<label class="item item-radio">
<input type="radio" name="group" ng-model="data.two" />
<div class="item-content">
Value2
</div>
<i class="radio-icon ion-checkmark"></i>
</label>
<label class="item item-radio">
<input type="radio" name="group" ng-model="data.three" />
<div class="item-content">
Value3
</div>
<i class="radio-icon ion-checkmark"></i>
</label>
</div>
and this is the popup in the controller
var saveType = $ionicPopup.show({
scope: $scope,
templateUrl: 'app/templates/cash.html',
title: 'The type is',
cssClass: 'custom-popup',
buttons: [
{
text: '<b>OK</b>',
type: 'button-energized',
onTap: function (e) {
return true;
}
},
{
text: 'Cancel',
type: 'button-positive',
onTap: function (e) {
return false;
}
}
]
});
saveType.then(function (r) {
});
running the application with “ionic serve”, the popup shows completely. but in the emulator or the device does not.
any idea?