Browse Source

web-ui: Update AppModule

scalafmt-draft
Alexis Hernandez 7 years ago
parent
commit
b4b11e5a1f
  1. 25
      web-ui/src/app/app.module.ts

25
web-ui/src/app/app.module.ts

@ -1,16 +1,37 @@
import { BrowserModule } from '@angular/platform-browser'; import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { CommonModule } from '@angular/common';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { AlertModule, BsDropdownModule, CollapseModule, TooltipModule, ModalModule } from 'ngx-bootstrap';
import { TranslateModule } from '@ngx-translate/core';
import { ToastrModule } from 'ngx-toastr';
import { AppComponent } from './app.component'; import { NgHttpLoaderModule } from 'ng-http-loader/ng-http-loader.module'
import { AppComponent } from './app.component';
@NgModule({ @NgModule({
declarations: [ declarations: [
AppComponent AppComponent
], ],
imports: [ imports: [
BrowserModule AlertModule.forRoot(),
BsDropdownModule.forRoot(),
CollapseModule.forRoot(),
TooltipModule.forRoot(),
ModalModule.forRoot(),
CommonModule,
BrowserAnimationsModule,
ToastrModule.forRoot(),
BrowserModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
NgHttpLoaderModule,
TranslateModule.forRoot(),
], ],
providers: [], providers: [],
bootstrap: [AppComponent] bootstrap: [AppComponent]

Loading…
Cancel
Save