Transitions with $ionicNavBarDelegate


#1

Currently i’m controlling a custom button with javascript to make a back button. How might I add a transition to this with $IonicNavBarDelegate?

$scope.back = function(){
	$ionicNavBarDelegate.back();
}

Thanks for any wisdom and thoughts!