mgcrea/angular-strap — pull request #972 by stephenfrank (2014-08-12 17:01:45+00:00)
Title: Add explicit index to $matches

Hi,

I've been implementing a custom select drop-down template to provide a search feature for long lists. The existing method in the `bs-select` for retrieving the item doesn't work because the `$index` within the filtered scope changes in relation to the indexes of the `$matches` (I think that's how to describe it).

Anyway, here is my PR to add an explicit index and makes the following code possible:
```html

```

PS. this change works with my project but I have no idea how to provide create a unit test to prove this.