title: Detecting SPA UI page change for chrome extension
body: <p>I have a chrome extension that is configured to run at</p>
  
  <p><a href="http://my.url/ui/foo" rel="nofollow noreferrer">http://my.url/ui/foo</a></p>
  
  <p>The /ui namespace is used by a section of the site that is managed by AngularJS. As such, transitioning between routes within /ui is managed client-side.</p>
  
  <p>When the page at /ui/foo is first loaded, the chrome extension fires appropriately. However, if I transition in the client side from /ui/foo to /ui/bar and then back to /ui/foo, the chrome extension inject script is not re-firing. I assume it is something to do with the lack of document_start, document_end and document_idle hooks when transitioning locally between angular routes.</p>
  
  <p>What is the best/appropriate/correct way for me to get my chrome extension to detect a local route change and re-fire, the same as it would if I went from /ui/foo to /something-not-client-managed to /ui/foo again?</p>