Created
February 25, 2020 03:20
-
-
Save FSou1/f9f0aef68c8a3d916b33b0ab2885e43f to your computer and use it in GitHub Desktop.
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 { AppRoutingModule } from './app-routing.module'; | |
import { AppComponent } from './app/app.component'; | |
import { HomeComponent } from './home/home.component'; | |
import { ProfileComponent } from './profile/profile.component'; | |
import { NotFoundComponent } from './error/not-found/not-found.component'; | |
import { LoginComponent } from './login/login.component'; | |
import { UserRoleDirective } from './directives/user-role.directive'; | |
import { UserDirective } from './directives/user.directive'; | |
import { AuthService } from './services/auth.service'; | |
@NgModule({ | |
declarations: [ | |
AppComponent, | |
HomeComponent, | |
ProfileComponent, | |
NotFoundComponent, | |
LoginComponent, | |
UserDirective, | |
UserRoleDirective | |
], | |
imports: [ | |
BrowserModule, | |
AppRoutingModule | |
], | |
exports: [ | |
UserDirective, | |
UserRoleDirective | |
], | |
providers: [AuthService], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment