<div class='form-group'
     ng-class='{"has-error": object.$errors[field].length > 0}'>
  <label for='{{ objectName }}[{{ field }}]' class='col-xs-2 control-label'>Name</label>
  <div class='col-xs-10'>
    <div items='items'
         invalid='object.$errors[field]'
         name='{{ objectName }}[{{ field }}]'
         ng-model='object[field]'></div>
    <div>
      <p ng-repeat='error in object.$errors[field]' class='text-danger'>{{ error }}</p>
    </div>
  </div>
</div>

