I just upgraded to ionic nightly.
When I inject $ionicView in a controller, it complains “unknown provider: $ionicViewProvider”.
Any hints?
I’m using ionicView like this:
$scope.$on('$ionicView.beforeEnter', function() {
analytics.trackView('Login Page');
});
OK, I see. Thank you 
Thanks @brandyshea!
You can find more about the view’s lifecycle and events here:
http://ionicframework.com/docs/nightly/api/directive/ionView/