Skip to content

Instantly share code, notes, and snippets.

@israeljrs
Created September 23, 2017 01:10
Show Gist options
  • Save israeljrs/ff6cf6ad41b37dc024fc9b67ae03a44a to your computer and use it in GitHub Desktop.
Save israeljrs/ff6cf6ad41b37dc024fc9b67ae03a44a to your computer and use it in GitHub Desktop.
app.module.ts to ngx-bootstrap
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { ModalModule, PopoverModule, RatingModule } from 'ngx-bootstrap';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
FormsModule,
ModalModule.forRoot(),
PopoverModule.forRoot(),
RatingModule.forRoot()
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment