So i have an ui select component that displays a list of object that have several properties, one property is another object, what I need is to display the array´s objects grouped by a property in the nested object, look: image. Please I really need help on this one. Thanks in advance. This is why I tried:
<ui-select-match placeholder="Elija un Nutriente...">
{{$select.selected.nombre}}
</ui-select-match>
<ui-select-choices repeat="a in allNutrientes| filter: $select.search" group-by="'idTiposDatosAlimentos.nombreTipoDato'">
<strong>{{a.abreviatura}} </strong>
{{a.nombre}}
<small><strong>Tipo de Dato: </strong>
{{a.idTiposDatosAlimentos.nombreTipoDato}}
</small>
</ui-select-choices>