Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { BrowserModule } from '@angular/platform-browser';
- import { NgModule } from '@angular/core';
- import { AppComponent } from './app.component';
- import { SocialcommentsComponent } from './socialcomments/socialcomments.component';
- import { SocialcommentsService } from './socialcomments/socialcomments.service';
- import { HttpClientModule } from '@angular/common/http';
- @NgModule({
- declarations: [
- AppComponent,
- SocialcommentsComponent
- ],
- imports: [
- BrowserModule,
- HttpClientModule
- ],
- providers: [SocialcommentsService,HttpClientModule],
- bootstrap: [AppComponent,SocialcommentsComponent]
- })
- export class AppModule { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement