Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@NgModule({
imports: [MatButtonModule, MatListModule,
MatToolbarModule, MatSidenavModule,
MatIconModule, MatFormFieldModule,
MatCardModule, MatInputModule, MatBottomSheetModule,
AlertModule, MatTableModule, MatGridListModule, MatExpansionModule,
MatDialogModule, MatProgressBarModule, ModalModule, WavesModule, InputsModule, ButtonsModule,
ModalModule.forRoot()],
exports: [MatButtonModule, MatListModule, MatExpansionModule,
MatToolbarModule, MatSidenavModule,
MatIconModule, MatFormFieldModule, MatBottomSheetModule,
MatCardModule, MatTableModule, MatInputModule, AlertModule, MatGridListModule,
MatDialogModule, MatProgressBarModule, ModalModule, WavesModule, InputsModule, ButtonsModule,],
declarations: []
})
export class MaterialModule { }
import { AuthModule } from './auth/auth.module';
import { AngularFireAuthModule } from '@angular/fire/auth';
import { HttpClientModule } from '@angular/common/http';
import { AngularFirestoreModule } from '@angular/fire/firestore';
import { AngularFireDatabaseModule } from '@angular/fire/database';
import { SharedModule } from './shared/shared.module';
import { AdminModule } from './admin/admin.module';
import { ModalModule } from 'angular-bootstrap-md';
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
AuthModule,
SharedModule,
ModalModule.forRoot(),
AdminModule,
AppRoutingModule,
HttpClientModule,
AngularFireModule.initializeApp(environment.firebase),
AngularFireAuthModule,
AngularFirestoreModule,
AngularFireDatabaseModule,
CoreModule,
StoreModule.forRoot(reducers, {
runtimeChecks: {
strictStateImmutability: true,
strictActionImmutability: true
},
metaReducers
}),
!environment.production ? StoreDevtoolsModule.instrument() : [],