Skip to content

Instantly share code, notes, and snippets.

@KaranPato
Created August 24, 2019 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KaranPato/49dc12b5f87fb6600ed569df64bd80da to your computer and use it in GitHub Desktop.
Save KaranPato/49dc12b5f87fb6600ed569df64bd80da to your computer and use it in GitHub Desktop.
Main module file.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { CustomMaterialModuleModule } from './common/custom-material-module/custom-material-module.module';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { AppRoutingModule } from './app-routing.module';
import { HttpClientModule } from '@angular/common/http';
import { RecipeListComponent } from './components/recipe-list/recipe-list.component';
import { AddUpdateRecepiComponent } from './components/add-update-recipe/add-update-recipe.component';
@NgModule({
declarations: [
AppComponent,
RecipeListComponent,
AddUpdateRecipeComponent
],
imports: [
BrowserModule,
BrowserAnimationsModule,
CustomMaterialModuleModule,
FormsModule,
ReactiveFormsModule,
AppRoutingModule,
HttpClientModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment