$ionicPopup.show({
title: ‘Set value’,
template:’ div class=“tdcsDurBackImage”> div class=“intDurationSlider” id=“duration11”/>
/div> ’ ,
scope: $scope,
buttons: [
{text: ‘Save’, onTap: function(e) { return ‘Save’; }},
{ text: ‘Cancel’, onTap: function(e) { return ‘Cancel’; } },
/* { text: ‘Cooler’, onTap: function(e) { return ‘cooler’; } },
{ text: ‘Stuff’, onTap: function(e) { return ‘stuff’; } }*/
]
}).then(function(res) {
console.log(‘Tapped!’, res);
}, function(err) {
console.log(‘Err:’, err);
}, function(msg) {
console.log(‘message:’, msg);
});
where tdcsDurBackImage is the css containing background image and id=duration11 isthe id of circular slider
this is contained by template template:div class=“tdcsDurBackImage”> div class=“intDurationSlider” id=“duration11”/> /div>