How should I configure the base href for Angular 2 when using Electron? : <p>I need to either set <code>&lt;base&gt;</code> in the HTML or <code>APP_BASE_HREF</code> during the bootstrap for Angular 2 to not throw exceptions. If I set either of these then <code>Electron</code>, thinking in terms of the file system, throws exceptions in <code>browser_adapter.ts</code> when trying to match a route: </p>

<blockquote>
  <p>EXCEPTION: Error: Uncaught (in promise): Cannot match any routes.
  Current segment: 'C:'. Available routes: ['/dashboard', '/accounts'].</p>
</blockquote>

<p>I tried using just the <code>HashLocationStrategy</code> mentioned in <a href="https://www.xplatform.rocks/2016/01/07/building-an-electron-app-using-angular2-beta0-in-typescript/" rel="noreferrer">this blog post</a>, but Angular still complains about the base href not being set.</p>
