Skip to content

Instantly share code, notes, and snippets.

@FSou1
Created February 25, 2020 03:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FSou1/f9f0aef68c8a3d916b33b0ab2885e43f to your computer and use it in GitHub Desktop.
Save FSou1/f9f0aef68c8a3d916b33b0ab2885e43f to your computer and use it in GitHub Desktop.
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