Commit bcfee748 authored by Jie Yuan's avatar Jie Yuan

add app modules

parent 3a65853f
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 { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import {MatFormFieldModule} from '@angular/material/form-field';
import {MatInputModule} from '@angular/material/input';
import { FormsModule , ReactiveFormsModule} from '@angular/forms';
import {MatButtonModule} from '@angular/material/button';
import {MatDividerModule} from '@angular/material/divider';
import {MatCardModule} from '@angular/material/card';
import { MatListModule, MatSidenavModule } from '@angular/material';
import {DashboardModule} from './dashboard/dashboard.module';
import { LoginComponent } from './login/login.component';
import {AuthService} from './auth.service';
import {SharedService} from './shared-service';
import {SiteShortService} from './site-short.service';
import {SiteService} from './site.service'
import {ServiceComponentService} from './service-component.service';
import { AailoginComponent } from './aailogin/aailogin.component';
import {AuthGuard} from './dashboard/auth-guard.service';
import { DataPolicyStatementComponent } from './data-policy-statement/data-policy-statement.component';
const SERVICES = [
AuthService,
SharedService,
SiteShortService,
SiteService,
ServiceComponentService,
AuthGuard
];
@NgModule({
declarations: [
AppComponent
AppComponent,
LoginComponent,
AailoginComponent,
DataPolicyStatementComponent,
],
imports: [
BrowserModule,
AppRoutingModule
AppRoutingModule,
BrowserAnimationsModule,
MatFormFieldModule,
MatInputModule,
FormsModule,
ReactiveFormsModule,
HttpClientModule,
DashboardModule,
MatButtonModule,
MatDividerModule,
MatCardModule,
MatListModule,
MatSidenavModule
],
providers: [],
providers: [
...SERVICES ],
bootstrap: [AppComponent]
})
export class AppModule { }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment