$ionicPopup.alert(‘test’);
Please tell me how to solve?
$ionicPopup.alert(‘test’);
Please tell me how to solve?
Try this
// An alert dialog
$scope.showAlert = function() {
var alertPopup = $ionicPopup.alert({
title: 'Don\'t eat that!',
template: 'It might taste good'
});
alertPopup.then(function(res) {
console.log('Thank you for not eating my delicious ice cream cone');
});
};