angular-ui/angular-ui — pull request #156 by ProLoser (2012-08-16 02:09:49+00:00)
Title: Added a new Extract and Format filter with test

Extract returns a new array of strings based on the paths. Ideally paths will allow us to traverse more deeply than one layer, but for now it's only 1 level deep. You can pass a separator and an array of paths to merge together multiple properties of the object. Useful for an array of people and you want to create a list of firrstName lastName, etc.

It returns an array which you can wrap and call join() on. Example:
```html

```

Format is an i18n utility that I use that I actually put on the string prototype. Half of our filters I wonder might perhaps be better suited on the primitive prototypes. Anyway, it lets you swap out tokens from the string. It's very flexible and powerful. Example:
```

{{'Hello :name, how is the :object :day'|format:{name:'Bob',object:'sun',day:'tomorrow'} }}

```