From 2b43753e546b85ad3aea411df9636b23153fb9d8 Mon Sep 17 00:00:00 2001 From: schencej Date: Mon, 9 Dec 2019 17:46:39 -0500 Subject: added pre cooking page --- recipeBuddy/src/app/app.module.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'recipeBuddy/src/app/app.module.ts') diff --git a/recipeBuddy/src/app/app.module.ts b/recipeBuddy/src/app/app.module.ts index eaa0553..9b7a049 100644 --- a/recipeBuddy/src/app/app.module.ts +++ b/recipeBuddy/src/app/app.module.ts @@ -2,20 +2,22 @@ import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { MatCardModule } from '@angular/material'; +import { MatDialogModule } from '@angular/material'; import { AppComponent } from './app.component'; import { CookPageComponent} from './cook-page/cook-page.component'; -import { StepCardComponent } from './cook-page/step-card/step-card.component'; import { AppRoutingModule } from './app-routing.module'; -import {HttpClientModule } from '@angular/common/http' +import { HttpClientModule } from '@angular/common/http'; +import { PreCookPopUpComponent } from './pre-cook-pop-up/pre-cook-pop-up.component'; +import { RecipePassService } from './recipePass/recipe-pass.service' @NgModule({ declarations: [ AppComponent, CookPageComponent, - StepCardComponent + PreCookPopUpComponent, ], imports: [ BrowserModule, @@ -23,7 +25,7 @@ import {HttpClientModule } from '@angular/common/http' MatCardModule, HttpClientModule ], - providers: [], - bootstrap: [AppComponent] + providers: [RecipePassService], + bootstrap: [AppComponent], }) export class AppModule { } -- cgit v1.1 From 10e1f5849fb7f64dd188f08b5e5f682d0b162777 Mon Sep 17 00:00:00 2001 From: schencej Date: Tue, 10 Dec 2019 22:24:09 -0500 Subject: fixed recipe pass service --- recipeBuddy/src/app/app.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipeBuddy/src/app/app.module.ts') diff --git a/recipeBuddy/src/app/app.module.ts b/recipeBuddy/src/app/app.module.ts index a2db49c..00a26c4 100644 --- a/recipeBuddy/src/app/app.module.ts +++ b/recipeBuddy/src/app/app.module.ts @@ -6,12 +6,12 @@ import { MatDialogModule } from '@angular/material'; import { AppComponent } from './app.component'; import { CookPageComponent} from './cook-page/cook-page.component'; +//import { RecipePassService } from './recipePass/recipe-pass.service'; import { AppRoutingModule } from './app-routing.module'; import { HttpClientModule } from '@angular/common/http'; import { PreCookPopUpComponent } from './pre-cook-pop-up/pre-cook-pop-up.component'; -import { RecipePassService } from './recipePass/recipe-pass.service' import { AddRecipeComponent } from './add-recipe/add-recipe.component'; import { ReactiveFormsModule } from '@angular/forms'; @@ -41,7 +41,7 @@ import { MatButtonModule } from '@angular/material/button'; MatIconModule, MatButtonModule ], - providers: [RecipePassService], bootstrap: [AppComponent], +// providers: [RecipePassService] }) export class AppModule { } -- cgit v1.1