Skip to content

Instantly share code, notes, and snippets.

@amandeepmittal
Created August 9, 2018 06:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amandeepmittal/3c06c52186814e3ef9e24ad904232e84 to your computer and use it in GitHub Desktop.
Save amandeepmittal/3c06c52186814e3ef9e24ad904232e84 to your computer and use it in GitHub Desktop.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule } from '@angular/common/http'; // add
import { Ng2SmartTableModule } from 'ng2-smart-table';
import { AppComponent } from './app.component';
import { TableComponent } from './table/table.component';
@NgModule({
declarations: [AppComponent, TableComponent],
imports: [
BrowserModule,
Ng2SmartTableModule,
HttpClientModule // add
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment