app.module.ts
950 Bytes
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { FooterBarComponent } from './footer-bar/footer-bar.component';
import { MainComponent } from './main/main.component';
import { NavBarComponent } from './nav-bar/nav-bar.component';
import { InformacionComponent } from './informacion/informacion.component';
import { ImagesService } from './services/images.service';
import { BusquedaComponent } from './busqueda/busqueda.component';
import { FormsModule } from '@angular/forms';
@NgModule({
declarations: [
AppComponent,
FooterBarComponent,
MainComponent,
NavBarComponent,
InformacionComponent,
BusquedaComponent
],
imports: [
BrowserModule,
AppRoutingModule,
FormsModule
],
providers: [ImagesService],
bootstrap: [AppComponent]
})
export class AppModule { }