dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_AuthModule cluster_AuthModule_declarations cluster_AuthModule_imports cluster_AuthModule_providers LoginComponent LoginComponent AuthModule AuthModule LoginComponent->AuthModule RegisterComponent RegisterComponent RegisterComponent->AuthModule SignComponent SignComponent SignComponent->AuthModule AuthRoutingModule AuthRoutingModule AuthRoutingModule->AuthModule AuthenticationService AuthenticationService AuthenticationService->AuthModule

File

src/app/auth/auth.module.ts

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

//Router:
import { AuthRoutingModule } from './auth-routing.module';

//Servicios:
import { AuthenticationService } from './authentication.service'
import { AuthGuardService } from './auth-guard.service';

import { AlertModule } from 'ngx-bootstrap/alert'

//Componentes:
import { RegisterComponent } from './register/register.component';
import { LoginComponent } from './login/login.component';
import { SignComponent } from './sign/sign.component';

@NgModule({
  imports: [
    CommonModule,
    AuthRoutingModule,
    FormsModule,
    AlertModule.forRoot()
  ],
  declarations: [RegisterComponent, LoginComponent, SignComponent],
  providers: [AuthenticationService, AuthGuardService]
})
export class AuthModule { }

result-matching ""

    No results matching ""