Dropdown with config and group Item

Hi all,

i need a dropdown widget with a output item with the selected value and a group item for selection.

i wrote this:

<div class="btn-group" uib-dropdown> 
<button id="single-button" type="button" class="btn btn-primary" uib-dropdown-toggle>
{{itemValue(config.OutputStringAuswahl)}} <span class="caret"></span>
  </button> 
<ul class="dropdown-menu" uib-dropdown-menu role="menu" aria-labelledby="single-button"ng-repeat="item in itemsInGroup(config.AuswahllisteGruppe)">
<li role="menuitem"><a ng-click="sendCmd(config.OutputStringAuswahl, 'itemValue(item.name)')">{{itemValue(item.name)}}</a></li>
</div>

But it doesnt work with the group item. what is my mistake?

Its my first widget :frowning: