<div class="form-group" bs-has-error>
	<label class="col-sm-3 control-label">{{label}}</label>
	<div class="col-sm-8">
		<input type="text" class="form-control" ng-model="selection" ng-pattern="mypattern" ng-required="required" ng-class="{'empty': !selection || selection.trim() == ''}" />
		<span class="glyphicon form-control-feedback" style="z-index: 100"></span>
	</div>
</div>
