Side Menu on open callback method

How can I call a method when the side menu is opened? I tried $scope.$on(’$ionicView.afterEnter’), but the problem is the side menu is an abstract view, and all the other views are just sub-views of that.