Ionic Auth

I am trying to implement the new IONIC user and also try to persist Login and protect pages from unathorized view , Normally if i was not using Ionic Auth i would have just created and Auth Service and inject it in to the controller i want to use it. But with this i am a bit confused. can anyone help me on how to do this?
var user = Ionic.User.current();

	if (!user.isAuthenticated()) {
	  //
	$state.go('login');	
	}