$ionicModal > $modalStack is now deprecated. Use $uibModalStack instead

I tried to create new modal like this example but I get deprecated warning on console and $scope.modal.show(); doesn’t do anything at all (nothing on console). Am I missing something?

Thanks in advance,
B.

$ionicModal.fromTemplateUrl(‘modal.html’, {
scope: $scope,
animation: ‘slide-in-up’
}).then(function(modal) {
$scope.modal = modal;
});

maybe this is a conflict with angular.ui??

Yes, it disappeared after I removed ui-bootstrap. I appreciate it.

Thanks!