Ionic Carousel / Google Map with Marker

I am using ion-slide to display something

There is a link on this page which onclick takes you to another page, in that page there is a button which calls the below function

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

When this button is clicked Map appears with marker, but when we close the map and go back to the initial page, carousel gets distorted

Can anyone give some idea what can be a problem here