title: Ionic - Route change event
body: <p>How can I run a piece of code each time the route changes? I can't seem to find an event to bind the code to.</p>
  
  <p>I need this to happen globally throughout the app.</p>