Can I stop the transition to the next state in an onExit? : <p>I have two states, A and B. </p>

<ul>
<li>When I exit state A by clicking on a close button I do a transition to screen A using $state.go to state B (screen B) </li>
<li>When I exit state A by clicking on the back browser button on screen A I do a transition to state B (screen B) as the browser URL changes</li>
</ul>

<p>In the onExit of screen A I do a check and if this fails an Error Dialog opens, clicking Close on the error dialog returns a failed promise to the onExit</p>

<p>However the onExit still goes ahead and I go to screen B</p>

<p>Is it possible to stop the transition from State A (Screen A) to State B (Screen B) if something fails in the onExit?</p>
