Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// 3rd party UI
FontAwesomeModule,
TextMaskModule,
/**
* ng-bootstrap modules
* only those that are used by app
* should be imported to reduce bundle size
*/
NgbDatepickerModule.forRoot(),
NgbCollapseModule.forRoot(),
NgbModalModule.forRoot(),
NgbTabsetModule.forRoot(),
NgbPaginationModule.forRoot(),
NgbPopoverModule.forRoot(),
NgbAccordionModule.forRoot(),
NgbCarouselModule.forRoot(),
NgbDropdownModule.forRoot(),
],
exports: [
// angular
CommonModule,
HttpClientModule,
ReactiveFormsModule,
// 3rd party UI
FontAwesomeModule,
TextMaskModule,
NgbDatepickerModule,
NgbCollapseModule,
NgbModalModule,
import { NgbAccordionModule, NgbDropdownModule } from '@ng-bootstrap/ng-bootstrap';
import { ColorPickerModule } from 'ngx-color-picker';
import { ClipboardModule } from 'ngx-clipboard';
import { TranslateModule } from '@ngx-translate/core';
import { HomeRoutingModule } from './home-routing.module';
import { HomeComponent } from './home.component';
import { PlaygroundComponent } from './playground/playground.component';
@NgModule({
imports: [
CommonModule,
FormsModule,
HomeRoutingModule,
NgbAccordionModule.forRoot(),
NgbDropdownModule.forRoot(),
TranslateModule,
ColorPickerModule,
ClipboardModule],
declarations: [HomeComponent, PlaygroundComponent],
})
export class HomeModule { }
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { CommonModule } from '@angular/common';
import { NgbAccordionModule } from '@ng-bootstrap/ng-bootstrap';
import { NgsRevealModule } from 'ngx-scrollreveal';
import { HomeRoutingModule } from './home-routing.module';
import { HomeComponent } from './home.component';
@NgModule({
imports: [
CommonModule,
FormsModule,
HomeRoutingModule,
NgbAccordionModule.forRoot(),
NgsRevealModule
],
declarations: [HomeComponent],
})
export class HomeModule { }