AngularJS ui-select

Multiple Selection

Array of strings

{{$item}} {{color}}

Selected: {{ctrl.multipleDemo.colors}}


Array of objects (sorting enabled)

{{$item.name}} <{{$item.email}}>
email: {{person.email}} age:

Selected: {{ctrl.multipleDemo.selectedPeople}}


Deselect callback with single property binding

{{$item.name}} <{{$item.email}}>
email: {{person.email}} age:

Last Removed:

$item = {{ctrl.lastRemoved.item}}
$model = {{ctrl.lastRemoved.model}}

Array of objects with single property binding

{{$item.name}} <{{$item.email}}>
email: {{person.email}} age:

Selected: {{ctrl.multipleDemo.selectedPeopleSimple}}


Array of objects (with groupBy)

{{$item.name}} <{{$item.email}}>
email: {{person.email}} age:

Selected: {{ctrl.multipleDemo.selectedPeopleWithGroupBy}}


Disabling instead of removing selected items

{{$item.name}} <{{$item.email}}>
email: {{person.email}} age:

Selected: {{ctrl.multipleDemo.removeSelectIsFalse}}