title: IE9 PathLocationStrategy Angular 4
body: <p>I'm using IE9 and PathLocationStrategy with Angular4 but it doesn't seem to be working. It just appends "#" infinite time. I tried adding history.js polyfill but nothing seems to be working.</p>
  
  <p>Can anyone help how do I use PathLocationStrategy with Angular 4 and IE9?</p>
  
  <p><strong>Update:</strong>
  I finally figured concluded, we cannot use PathLocationStrategy on IE9. Now I'm trying to figure out how to use PathLocationStrategy on rest of the browser and only if IE9 is present, switch to HashLocationStrategy.
  I tried to include following line of code inside my module:</p>
  
  <pre><code>RouterModule.forRoot(COMMON_ROUTES, { useHash: !Boolean(history.pushState) }),
  </code></pre>
  
  <p>I verified that, <code>!Boolean(history.pushState)</code> returns true in IE9 and false in rest of the browsers. But it is not working. Angular defaults to PathLocationStrategy even in IE9. Can someone help?</p>