From 8a062eb2369df34ac81bc65d0cec25c11ec048a5 Mon Sep 17 00:00:00 2001 From: mpuebla Date: Mon, 2 Sep 2019 13:14:52 -0300 Subject: [PATCH] Agregados modulos. --- src/app/app.module.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index a61dbff..fd285a4 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,10 +1,13 @@ import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; - import { AppRoutingModule } from './app-routing.module'; +import { HttpClientModule } from '@angular/common/http'; +import { FormsModule, ReactiveFormsModule } from '@angular/forms'; +import { CarouselModule } from 'ngx-bootstrap/carousel'; +import { PaginationModule } from 'ngx-bootstrap/pagination'; + import { AppComponent } from './app.component'; import { AbmImagenesComponent } from './components/abm-imagenes/abm-imagenes.component'; -import { PaginationModule } from 'ngx-bootstrap/pagination'; import { HeaderComponent } from './components/header/header.component'; @NgModule({ @@ -16,7 +19,12 @@ import { HeaderComponent } from './components/header/header.component'; imports: [ BrowserModule, AppRoutingModule, - PaginationModule.forRoot() + HttpClientModule, + FormsModule, + ReactiveFormsModule, + ReactiveFormsModule.withConfig({ warnOnNgModelWithFormControl: 'never' }), + PaginationModule.forRoot(), + CarouselModule.forRoot() ], providers: [], bootstrap: [AppComponent] -- 1.9.1