AngularJS ui-select

Group By

Selected: {{ctrl.person.selected}}

Grouped using a string group-by="'country'"

{{$select.selected.name}}
email: {{person.email}} age:

Grouped using a function group-by="ctrl.someGroupFn"

{{$select.selected.name}}
email: {{person.email}} age:

Regular

{{$select.selected.name}}
email: {{person.email}} age: