Strange problem with remove modal

I work with Ionic, v1.0.0-beta.1
I have code like this:

<span ng-repeat="result in data" ng-click="opanModal(result)">{{result.name}}</span>

in controller

$ionicModal.fromTemplateUrl('templates/modal.html', function(modal){
	$scope.ModalTest = modal;
},{
	scope: $scope, animation: 'slide-in-right'
})

$scope.opanModal= function(value){
	$scope.modalData=value;
	$scope.ModalTest.show();
}

in modal:

{{modalData.name}}

For that matter the “data” This two users

  1. Kfir
  2. Rafael
    If I click on “kfir” I see the name (kfir)
    If I close by ModalTest.remove() and click on the "rafael"
    I still see the name of “kfir”

You’ve got your scopes in the wrong places. Try:

$ionicModal.fromTemplateUrl('templates/modal.html', function(modal){
	scope: $scope
},{
	$scope.ModalTest = modal;
})

If that doesn’t help, setup a CodePen sample so we can see what’s going on.

self.scope.$destroy();

That’s what made for a "problem"
At the moment I do not have to destroy the scope