Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { NglModule } from 'ng-lightning/ng-lightning';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { AppComponent } from './demo';
@NgModule({
imports: [ BrowserModule, FormsModule, HttpClientModule, NglModule.forRoot() ],
declarations: [ AppComponent ],
bootstrap: [ AppComponent ],
})
export class AppModule { }
import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {RouterModule, PreloadAllModules} from '@angular/router';
import {routes} from './app.routing';
import {NglModule} from 'ng-lightning/ng-lightning';
import {AppComp} from './app';
@NgModule({
imports: [
BrowserModule,
RouterModule.forRoot(routes, { useHash: true, preloadingStrategy: PreloadAllModules }),
NglModule.forRoot(),
],
declarations: [
AppComp,
],
bootstrap: [AppComp],
})
export class NglDemoModule {}