# angular-ivh-pluck-and-join

> [![Build Status](https://secure.travis-ci.org/iVantage/angular-ivh-pluck-and-join.png?branch=master)](https://travis-ci.org/iVantage/angular-ivh-pluck-and-join)

Latest version **0.1.0** (published 2015-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install angular-ivh-pluck-and-join
pnpm add angular-ivh-pluck-and-join
yarn add angular-ivh-pluck-and-join
bun add angular-ivh-pluck-and-join
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2015-10-09 |
| First published | 2015-10-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | iVantage |
| Maintainers | jtrussell |

## Links

- npm: https://www.npmjs.com/package/angular-ivh-pluck-and-join
- Repository: https://github.com/iVantage/angular-ivh-pluck-and-join
- Issues: https://github.com/iVantage/angular-ivh-pluck-and-join/issues
- npm.io page: https://npm.io/package/angular-ivh-pluck-and-join

## Recent versions

- 0.1.0 (latest) — 2015-10-09

## README

# ivh.pluckAndJoin

[![Build Status](https://secure.travis-ci.org/iVantage/angular-ivh-pluck-and-join.png?branch=master)](https://travis-ci.org/iVantage/angular-ivh-pluck-and-join)

> An AngularJS filter to pluck and join.


## Installation

Install with bower:

```
bower install --save angular-ivh-pluck-and-join
```


## Usage

Add this module as a dependency to your app:

```
angular.module('myApp', ['ivh.pluckAndJoin']);
```

You now have access to the `ivhPluckAndJoin` filter:

### API

#### `ivhPluckAndJoinFilter(Array collection, String property[, String delimiter=' ,'])`

Collects `property` from each item in `collection` and returns them joined by
`delimiter`.

### Example

```html
<!--
scope = {
  items: [
    {name: 'Justin', age: 28},
    {name: 'Bella', age .75}
  ]
}
-->

<p>{{items | ivhPluckAndJoin:'name'}}</p>

<!--
Produces:

<p>Justin, Bella</p>

You can also use a custom delimiter:
-->

<p>{{items | ivhPluckAndJoin:'name':' - '}}</p>

<!--
Produces:

<p>Justin - Bella</p>
-->
```


## Testing

Use `npm test` to run the full suite of linting, style checks, and unit tests.

Or, run each individually:

- Use `grunt jshint` for linting
- Use `grunt jscs` for coding style checks
- Use `grunt jasmine` to unit tests

For ease of development the `grunt watch` task will run each of the above as
needed when you make changes to source files.


## Changelog

2015-08-09 v0.1.0 Initial release


## License

MIT

---
_Source: https://npm.io/package/angular-ivh-pluck-and-join · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
