title: How can you listen to ember route changes?
body: <p>How can you detect route changes  (# or popstate) outside an ember app? I've tried this but not had any luck: they never fire</p>
  
  <pre><code> window.onhashchange = function locationHashChanged() {
        console.log(location.hash);
      };
      window.addEventListener('popstate', function locationHashChanged(e) {
        console.log(e.location);
      });
  </code></pre>