title: TypeError, 'digest' of undefined, in development environment
body: <p>When we're building our Angular SPA for localhost it works perfectly.</p>
  
  <p>On our dev environment, this error creeps into the DevTool console and breaks everything:
  ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'digest' of undefined</p>
  
  <pre><code>TypeError: Cannot read property 'digest' of undefined
      at N (auth0-spa-js.production.js:1)
      at ie.&lt;anonymous&gt; (auth0-spa-js.production.js:1)
      at Generator.next (&lt;anonymous&gt;)
      at auth0-spa-js.production.js:1
      at new ZoneAwarePromise (zone-evergreen.js:876)
      at t (auth0-spa-js.production.js:1)
      at ie.loginWithRedirect (auth0-spa-js.production.js:1)
      at AuthGuard.&lt;anonymous&gt; (auth.guard.ts:22)
      at Generator.next (&lt;anonymous&gt;)
      at fulfilled (environment.ts:11)
      at resolvePromise (zone-evergreen.js:797)
      at new ZoneAwarePromise (zone-evergreen.js:879)
      at t (auth0-spa-js.production.js:1)
      at ie.loginWithRedirect (auth0-spa-js.production.js:1)
      at AuthGuard.&lt;anonymous&gt; (auth.guard.ts:22)
      at Generator.next (&lt;anonymous&gt;)
      at fulfilled (environment.ts:11)
      at ZoneDelegate.invoke (zone-evergreen.js:359)
      at Object.onInvoke (core.js:34195)
      at ZoneDelegate.invoke (zone-evergreen.js:358)
  </code></pre>
  
  <p>I guess it must be something about the build process, some different flags, but I can't figure out exactly which.</p>