<div class="fieldArray form-group">
    <div ng-repeat="item in formValue track by $index"
         class="fieldArrayTable fieldArrayTable{{ $index }} multiple valign-wrapper">

        <div piwik-field uicontrol="{{ field.uiControl }}"
             data-title="{{ field.title }}"
             name="{{ name + '-' + $index }}"
             full-width="true"
             ng-if="field.templateFile"
             template-file="{{ field.templateFile }}"
             class="fieldUiControl"
             ng-model="formValue[$index]"
             options="field.availableValues"
             ng-change="fieldArray.onEntryChange()"
             placeholder=" ">
        </div>

        <span ng-click="fieldArray.removeEntry($index)"
              title="{{ 'General_Remove'|translate }}"
              ng-hide="($index + 1) == (formValue|length)"
              class="icon-minus valign"></span>
    </div>
</div>