Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 573 Bytes

modules.md

File metadata and controls

29 lines (21 loc) · 573 Bytes

Modules

Each category of pipes has an exported module. And one module imports all these modules.

  • NgAggregatePipesModule
  • NgArrayPipesModule
  • NgBooleanPipesModule
  • NgMathPipesModule
  • NgObjectPipesModule
  • NgStringPipesModule
  • NgPipesModule (imports all the module above)

Example

import { NgModule } from '@angular/core';

import { NgArrayPipesModule, NgStringPipesModule } from 'angular-pipes';

@NgModule({
    imports: [
        NgArrayPipesModule,
        NgStringPipesModule
    ]
})
export class MyApplicationModule {}