Adapted from angular-ui https://github.com/angular-ui/ui-select
Do not link/use this file directly in your projects. It's still more a playground for me and I don't respect correct semantic versioning yet.
- Preselection independent from data in repeat
- new attribute 'on-add' callback function attribute for adding new entries to selection by ENTER key
- new attribute 'input-id' to pass id to underlying input field to support form labels
- multiple: preserve FormController's $pristine state when preselection ($select.selected) is empty
- -inputId- done
- -add new entries- done
- make it work with extjs like stores and proper selection model