title: toastr is not working with angular 8 it,s give me error
body: <p>i am using angular 8 toastr but i got this error in console</p>
  
  <pre><code>ngx-toastr.js:264 Uncaught TypeError: Object(...) is not a function
  at ngx-toastr.js:264
  at Module../node_modules/ngx-toastr/fesm5/ngx-toastr.js (ngx-toastr.js:271)
  at __webpack_require__ (bootstrap:78)
  at Module../src/app/app.module.ts (app.component.ts:8)
  at __webpack_require__ (bootstrap:78)
  at Module../src/main.ts (main.ts:1)
  at __webpack_require__ (bootstrap:78)
  at Object.0 (main.ts:13)
  at __webpack_require__ (bootstrap:78)
  at checkDeferredModules (bootstrap:45)
  (anonymous) @ ngx-toastr.js:264
  ./node_modules/ngx-toastr/fesm5/ngx-toastr.js @ ngx-toastr.js:271
  __webpack_require__ @ bootstrap:78
  </code></pre>
  
  <p>./src/app/app.module.ts @ app.component.ts:8
     <strong>webpack_require</strong> @ bootstrap:78
     ./src/main.ts @ main.ts:1
     <strong>webpack_require</strong> @ bootstrap:78
     0 @ main.ts:13
     <strong>webpack_require</strong> @ bootstrap:78
     checkDeferredModules @ bootstrap:45
     webpackJsonpCallback @ bootstrap:32
    (anonymous) @ main.js:1
    client:148 [WDS] Warnings while compiling.</p>
  
  <p>i have run these in command line </p>
  
  <pre><code> npm install ngx-toastr --save
   npm install @angular/animations --save
  </code></pre>
  
  <p>in my app.module.ts i have included these line</p>
  
  <pre><code>  import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
    import { ToastrModule } from 'ngx-toastr';
  
     imports: [
       BrowserModule,
       AppRoutingModule,
       BrowserAnimationsModule,
       ToastrModule.forRoot()
      ],
  </code></pre>
  
  <p>i have include this in angular.json</p>
  
  <pre><code> "node_modules/ngx-toastr/toastr.css"
  </code></pre>
  
  <p>this is my component.ts file </p>
  
  <pre><code>   import { ToastrService } from 'ngx-toastr';
     constract(public toastr: ToastrService){}
     ngOnInit() {
    this.toastr.success('hello world', 'Success!');
    }
  </code></pre>
  
  <p>and when i rung angular server using ng serve command it show me this error</p>
  
  <pre><code>  WARNING in ./node_modules/ngx-toastr/fesm5/ngx-toastr.js 368:198-206
    "export 'ɵɵinject' was not found in '@angular/core'
  </code></pre>