Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { GridsterModule } from 'angular2gridster';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
FormsModule,
GridsterModule.forRoot()
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
@NgModule({
declarations: [
AppComponent,
DashboardComponent,
EditorComponent,
LoginComponent,
RegisterComponent
],
imports: [
FormsModule,
ReactiveFormsModule,
CommonModule,
BrowserModule,
AppRoutingModule,
CKEditorModule,
GridsterModule.forRoot(),
NgZorroAntdModule,
HttpClientModule,
NzIconModule,
BrowserAnimationsModule,
ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production })
],
providers: [
{ provide: NZ_I18N, useValue: en_US },
{ provide: HTTP_INTERCEPTORS, useClass: JwtInterceptor, multi: true },
{ provide: NZ_ICON_DEFAULT_TWOTONE_COLOR, useValue: '#00ff00' },
{ provide: NZ_ICONS, useValue: icons },
AuthGuard
],
bootstrap: [AppComponent]
})
export class AppModule { }