title: ERR_FILE_NOT_FOUND when refreshing the overridden new tab in a Chrome Extension built with Angular
body: <p>I am developing a Chrome Extension using Angular. The extension override the &quot;newtab&quot; and it loads in a subdirectory &quot;NewTab&quot; (I set &quot;baseHref&quot;: &quot;/NewTab/&quot; and it works fine). The new tab works but when I refresh the page it does not and it shows ERR_FILE_NOT_FOUND.</p>
  <p>I believe this is because the angular router rewrite &quot;/index.html&quot; to &quot;/&quot; (I can see this behaviour when testing with ng serve) and doing so, when refreshing the page, the browser tries to open chrome-extension://[extension_id]/NewTab/ instead chrome-extension://XXXXXXXXXXXXXXXXXX/NewTab/index.html breaking it.</p>
  <p>Is it possible to set the angular router to NOT remove index.html from the url?Or is there any other work around for this?</p>