Modal and navigation events


#1

Hello

I’m having a little problem. I use a modal and when this modal is closed/removed I want to refresh the underlying view. For this I thought I could use $ionicView.enter event in my views controller.

$scope.$on('$ionicView.enter', function() {
		console.log("enter called");
	});

Turns out this does not work with modals. The event is never fired when the modal on top of the view is removed. It is only fired once when the view is added to the stack. Is this the intended behaviour?

Thank you!