title: Can you stop a view change happening in ionic when the $ionicView.beforeLeave event fires?
body: <p>I have an ionic view with a form in it. When someone tries to leave the view (in my case by selecting a menu item) the <code>$ionicView.beforeLeave</code> event fires and I capture it in my controller. So far so good.</p>
  
  <p>In the <code>$ionicView.beforeLeave</code> event handler I will check the data in the form and submit it to the server. If the data is not correct I want to tell the user and stop them leaving the form view so they have to correct the error.</p>
  
  <p>I can't work out how to stop the change of view happening so the user stays on my form view.</p>
  
  <p>Is there a way to do this? If so how?</p>