Skip to content

Instantly share code, notes, and snippets.

@iamburakcoskun
Created October 29, 2019 11:11
Show Gist options
  • Save iamburakcoskun/79860934bf2265cd4be23f16b5893041 to your computer and use it in GitHub Desktop.
Save iamburakcoskun/79860934bf2265cd4be23f16b5893041 to your computer and use it in GitHub Desktop.
import { BrowserModule } from "@angular/platform-browser";
import { NgModule } from "@angular/core";
import { HttpClientModule } from "@angular/common/http";
import { AppRoutingModule } from "./app-routing.module";
import { AppComponent } from "./app.component";
import { NavComponent } from "./nav/nav.component";
import { HomeComponent } from "./home/home.component";
import { RegisterComponent } from "./register/register.component";
import { JobsComponent } from "./jobs/jobs.component";
import { CompaniesComponent } from "./companies/companies.component";
import { MessagesComponent } from "./messages/messages.component";
import { AlertifyService } from "./_services/alertify.service";
import { AuthService } from "./_services/auth.service";
import { LoginComponent } from "./login/login.component";
import { LoginGuard } from "./login/login.guard";
import { FormsModule } from "@angular/forms";
@NgModule({
declarations: [
AppComponent,
NavComponent,
HomeComponent,
RegisterComponent,
JobsComponent,
CompaniesComponent,
MessagesComponent,
LoginComponent
],
imports: [BrowserModule, AppRoutingModule, HttpClientModule, FormsModule],
providers: [AlertifyService, AuthService, LoginGuard],
bootstrap: [AppComponent]
})
export class AppModule {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment