Hey there! I've been attempting to open a modal after closing the first one, but I'm encountering an issue where the second modal appears to be opened but is actually not. I'm struggling to understand what's causing this problem. Could someone lend me a hand, please?
Here's a snippet from myController.js:
$scope.detailsPdt = function(pdt, size)
{
$scope.cancel();
$scope.pdt = pdt;
$rootScope.modalInstance = $uibModal.open({
animation : $scope.animationsEnabled,
templateUrl : 'partials/detailsProduct.html',
controller : 'ProductsController',
size : size,
scope : $scope,
resolve : {}
});
}