gnovotny / ng2-lodash

lodash pipe for Angular2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ng2-lodash

lodash pipe for Angular2

Installation

npm install --save ng2-lodash

Usage

Import LodashModule into your app's modules:

import {LodashModule} from 'ng2-lodash';

@NgModule({
  imports: [
    LodashModule
  ]
})
@Component({
  selector: 'app',
  template: `
    Selected Item: {{items |  lodash: 'find':['id', selectedItemId]}}
  `
})

Demo

Coming soon

About

lodash pipe for Angular2

License:MIT License


Languages

Language:TypeScript 100.0%