title: Angular.js // ng-leave state before url/ng-view change
body: <p>Getting into <strong>ngAnimations</strong>; I was wondering how page transition could completely be controlled.</p>
  
  <p>I mean by this : being able to control the same way an ng-leave as it is done for the ng-enter while <strong>having a change in the url in the process</strong>. New to angular but I'd described it as trying to get some ng-leave control before an ng-view change.</p>
  
  <p>As far as I've searched, the ng-leave state only has a meaning with <a href="http://www.nganimate.org/angularjs/ng-switch/slider-css3-transition-animation" rel="nofollow">ng-switch</a> (there is another ng but you got the idea); which for the moment means for me that all the elements have to be already in the page and that no url change are involved in the process.</p>
  
  <p>If any help, highly appreciated. I've found the ng-animations really cool but thinking that this point is quite missing.</p>
  
  <p>Assuming there might be another pattern to follow probably though.</p>