Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. import { BrowserModule } from '@angular/platform-browser';
  2. import { NgModule } from '@angular/core';
  3. import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
  4.  
  5. import { AppComponent } from './app.component';
  6. import { ToastrModule } from 'ngx-toastr';
  7. import { ToastrNameService } from './datas/mock-datas.service';
  8. import { ToasterServiceMethods } from './toastr-services/toastr.service';
  9.  
  10. @NgModule({
  11. declarations: [
  12. AppComponent
  13. ],
  14. imports: [
  15. BrowserModule,
  16. BrowserAnimationsModule,
  17. ToastrModule.forRoot()
  18.  
  19. ],
  20. providers: [ToastrNameService,ToasterServiceMethods],
  21. bootstrap: [AppComponent]
  22. })
  23. export class AppModule { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement