Created
October 12, 2018 23:12
-
-
Save zkkmin/6b714ae63b2b14731add737061cff9b8 to your computer and use it in GitHub Desktop.
App Module for JWT Angular
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 { AppComponent } from './app.component'; | |
import { LoginComponent } from './login/login.component'; | |
import { ReactiveFormsModule } from '@angular/forms'; // Reactive form module added | |
import { AppRoutingModule } from './/app-routing.module'; | |
import { DashboardComponent } from './dashboard/dashboard.component'; | |
@NgModule({ | |
declarations: [ | |
AppComponent, | |
LoginComponent, | |
DashboardComponent | |
], | |
imports: [ | |
BrowserModule, | |
HttpClientModule, | |
ReactiveFormsModule, // Reactive form moudle added | |
AppRoutingModule | |
], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment