Advertisement
Guest User

Untitled

a guest
Sep 27th, 2018
168
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.  
  4. import { AppComponent } from './app.component';
  5. import { SocialcommentsComponent } from './socialcomments/socialcomments.component';
  6. import { SocialcommentsService } from './socialcomments/socialcomments.service';
  7. import { HttpClientModule } from '@angular/common/http';
  8.  
  9. @NgModule({
  10. declarations: [
  11. AppComponent,
  12. SocialcommentsComponent
  13. ],
  14. imports: [
  15. BrowserModule,
  16. HttpClientModule
  17. ],
  18. providers: [SocialcommentsService,HttpClientModule],
  19. bootstrap: [AppComponent,SocialcommentsComponent]
  20. })
  21. export class AppModule { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement