Skip to content

Instantly share code, notes, and snippets.

@duarte171183
Created September 28, 2019 05:32
Show Gist options
  • Save duarte171183/a0143cc420c112df3e0ccf5d54f0d476 to your computer and use it in GitHub Desktop.
Save duarte171183/a0143cc420c112df3e0ccf5d54f0d476 to your computer and use it in GitHub Desktop.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
import { AppComponent } from './app.component';
import { ArticlesComponent } from './components/articles/articles.component';
import {ArticlesFormComponent} from './components/articles/articles-form.component'
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { AppRoutingModule } from './app-routing.module';
import { RouterModule } from '@angular/router';
import { MessageComponent } from './components/message/message.component';
@NgModule({
declarations: [
AppComponent,
ArticlesComponent,
ArticlesFormComponent,
MessageComponent
],
imports: [
AppRoutingModule,
BrowserModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
RouterModule,
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment