Skip to content

Instantly share code, notes, and snippets.

@flavioribeirojr
Created August 15, 2017 16:13
Show Gist options
  • Save flavioribeirojr/2f7d8043d518adec73b464f425205265 to your computer and use it in GitHub Desktop.
Save flavioribeirojr/2f7d8043d518adec73b464f425205265 to your computer and use it in GitHub Desktop.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppRoutingModule } from './app-routing.module';
import { HttpClientModule } from '@angular/common/http';
import { CarrosService } from './carros/carros.service';
import { AppComponent } from './app.component';
import { CarrosComponent } from './carros/carros.component';
@NgModule({
declarations: [
AppComponent,
CarrosComponent
],
imports: [
BrowserModule,
AppRoutingModule,
HttpClientModule
],
providers: [CarrosService],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment