Hi,
Could you please try this..
Use the $ionicModal , and also don't forget to inject $ionicModal in your controller..
$ionicModal.fromTemplateUrl('views/modalcontent.html'', {
scope: $scope
}).then(function (modal) {
$scope.modal = modal;
});
// Triggered in the product modal to close it
$scope.closeModal = function () {
$scope.modal.hide();
};
I hope this will help you ..
Thanks..