title: Angular tutorial, InMemoryWebApiModule throwing 500 internal server error with angular-in-memory-web-api 0.6.0
body: <p>InMemoryWebApiModule is working with <a href="https://angular.io/generated/zips/toh-pt6/toh-pt6.zip" rel="noreferrer">downloaded source code</a> where
  <code>"angular-in-memory-web-api": "~0.5.0"</code> But not with<code>"angular-in-memory-web-api": "^0.6.0"</code>
  I have followed the tutorial,to install angular-in-memory-web-api :</p>
  
  <pre><code>npm install angular-in-memory-web-api --save
  </code></pre>
  
  <p>And it installed <code>"angular-in-memory-web-api": "^0.6.0"</code></p>
  
  <p>Error Message:</p>
  
  <p><code>webpack-internal:///./src/app/hero.service.ts:87
    Object
      body:
       error: "Object(...) is not a function"
       __proto__: Object
     headers: HttpHeaders
      lazyInit: ƒ ()
      lazyUpdate: null
     normalizedNames: Map(0) {}
     __proto__: Object
     status: 500statusText: "Internal Server Error"
     url: "api/heroes"
    __proto__: Object
  (anonymous) @ webpack-internal:///./src/app/hero.service.ts:87</code></p>