I found the solution in this issue report :
So the solution is the following :
$ionicModal.fromTemplateUrl('templates/login.html', {
scope: $scope,
hardwareBackButtonClose: false
}).then(function(modal) {
$scope.modal = modal;
$scope.isUser = sessionService.get("user") ? true : false;
if( !$scope.isUser ) {
$scope.modal.show();
}
});