|
|
|
@@ -1,41 +1,35 @@ |
|
|
|
import { BrowserModule } from '@angular/platform-browser'; |
|
|
|
import { NgModule } from '@angular/core'; |
|
|
|
import { FormsModule } from '@angular/forms'; |
|
|
|
import { HttpModule } from '@angular/http'; |
|
|
|
import { HttpClientModule } from '@angular/common/http'; |
|
|
|
|
|
|
|
import { AppComponent } from './app.component'; |
|
|
|
import { HeaderComponent } from './header/header.component'; |
|
|
|
import { ShoppingListComponent } from './shopping-list/shopping-list.component'; |
|
|
|
import { ShoppingEditComponent } from './shopping-list/shopping-edit/shopping-edit.component'; |
|
|
|
import { ShoppingListService } from './shopping-list/shopping-list.service'; |
|
|
|
import { AppRoutingModule } from './app-routing.module'; |
|
|
|
import { RecipeService } from './recipes/recipe.service'; |
|
|
|
import { DataStorageService } from './shared/data-storage.service'; |
|
|
|
import { SignupComponent } from './auth/signup/signup.component'; |
|
|
|
import { SigninComponent } from './auth/signin/signin.component'; |
|
|
|
import { AuthService } from './auth/auth.service'; |
|
|
|
import { AuthGuard } from './auth/auth-guard.service'; |
|
|
|
import { RecipesModule } from './recipes/recipes.module'; |
|
|
|
import { SharedModule } from './shared/shared.module'; |
|
|
|
import { ShoppingListModule } from './shopping-list/shopping-list.module'; |
|
|
|
import { AuthModule } from './auth/auth.module'; |
|
|
|
|
|
|
|
@NgModule({ |
|
|
|
declarations: [ |
|
|
|
AppComponent, |
|
|
|
HeaderComponent, |
|
|
|
ShoppingListComponent, |
|
|
|
ShoppingEditComponent, |
|
|
|
SignupComponent, |
|
|
|
SigninComponent |
|
|
|
HeaderComponent |
|
|
|
], |
|
|
|
imports: [ |
|
|
|
BrowserModule, |
|
|
|
FormsModule, |
|
|
|
HttpClientModule, |
|
|
|
HttpModule, |
|
|
|
AppRoutingModule, |
|
|
|
RecipesModule, |
|
|
|
SharedModule |
|
|
|
SharedModule, |
|
|
|
ShoppingListModule, |
|
|
|
AuthModule |
|
|
|
], |
|
|
|
providers: [ |
|
|
|
ShoppingListService, |
|
|
|
|