Last active
September 14, 2019 19:13
-
-
Save dileno/2d57719d5a36e95f1747323fe25bb314 to your computer and use it in GitHub Desktop.
App.module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { HttpClientModule } from '@angular/common/http'; | |
import { ReactiveFormsModule } from '@angular/forms'; | |
import { AppRoutingModule } from './app-routing.module'; | |
import { AppComponent } from './app.component'; | |
import { BlogPostsComponent } from './blog-posts/blog-posts.component'; | |
import { BlogPostComponent } from './blog-post/blog-post.component'; | |
import { BlogPostAddEditComponent } from './blog-post-add-edit/blog-post-add-edit.component'; | |
import { BlogPostService } from './services/blog-post.service'; | |
@NgModule({ | |
declarations: [ | |
AppComponent, | |
BlogPostsComponent, | |
BlogPostComponent, | |
BlogPostAddEditComponent | |
], | |
imports: [ | |
BrowserModule, | |
HttpClientModule, | |
AppRoutingModule, | |
ReactiveFormsModule | |
], | |
providers: [ | |
BlogPostService | |
], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment