Ionic 2 Routing: Is there a way to subscribe to route change events?

Angular 2 routing allows to subscribe to router events (like NavigationStart, NavigationEnd, etc.) in one place, which is very useful to detect if certain conditions exists, such as re-route to login page if user is no longer logged it, when a route is requested from any page.

Is there similar events with Ionic 2 router and if so how can we subscribe to that?

I found this useful:

.controller('AppCtrl', function($scope, $rootScope, $ionicModal, $timeout, $ionicPopover, $ionicBackdrop, $ionicScrollDelegate, $state, $ionicViewSwitcher, $ionicPlatform, $window) {

$scope.$on('$ionicView.beforeEnter', function(event, data){ 
 // [...]
});

$scope.$on("$ionicView.enter", function(event, data){
 // [...]
});

$scope.$on("$ionicView.leave", function(event,data){
 // [...]
});



}