<div class="form-group" bs-has-error>
	<label class="col-sm-3 control-label">{{label}}</label>
	<div class="col-sm-8">
		<select class="form-control" size="10" multiple="multiple" ng-model="arraySelection" ng-required="required" ng-class="{'empty': !selection || selection.trim() == ''}">
			<option ng-repeat="term in validValues" value="{{term.id}}">{{term.name}}</option>
		</select>
		<span class="glyphicon form-control-feedback" style="z-index: 100; margin-right: 20px;"></span>
		
		<button type="button" class="btn btn-xs btn-default" style="margin-top: 6px" ng-click="refreshFunction()" ng-show="refreshFunction">
			<span class="glyphicon glyphicon-refresh"></span> fetch list
		</button>
	</div>
</div>
