<div>
  <div class="form-group">
    <label for="file-name" class="col-sm-4 control-label">File Name </label>
    <div class="col-sm-8">
      <input type="text" class="form-control" id="file-name" name="fileName" placeholder="Enter a file name" ng-model="ngModel.file.name" required>
    </div>
  </div>

  <div class="form-group" ng-class="{'has-error': form.date.$invalid}">
    <label class="col-sm-4 control-label">Installation Date </label>
    <div class="col-sm-8">
      <input type="text" class="form-control" name="date" ng-model="ngModel.file.install.date"  min-date="today" date-type="string" model-date-format="yyyy-MM-dd" bs-datepicker required>
    </div>
  </div>

  <div class="form-group">
    <label for="first-name" class="col-sm-4 control-label">Installer First Name</label>
    <div class="col-sm-8">
      <input type="text" class="form-control" id="first-name" name="firstName" placeholder="Enter your first name" ng-model="ngModel.file.install.installer.first_name" required>
    </div>
  </div>

  <div class="form-group">
    <label for="last-name" class="col-sm-4 control-label">Installer Last Name</label>
    <div class="col-sm-8">
      <input type="text" class="form-control" id="last-name" name="lastName" placeholder="Enter your last name" ng-model="ngModel.file.install.installer.last_name" required>
    </div>
  </div>
  
  <div class="form-group">
    <label for="installer-phone" class="col-sm-4 control-label">Installer Phone #</label>
    <div class="col-sm-8">
      <input type="text" class="form-control" id="installer-phone" name="installerPhone" placeholder="Enter a phone number" ng-model="ngModel.file.install.phone" required>
    </div>
  </div>

  <div class="form-group">
    <label for="installer-email" class="col-sm-4 control-label">Installer Email </label>
    <div class="col-sm-8">
      <input type="email" class="form-control" id="installer-email" name="installerEmail" placeholder="Enter an email address" ng-model="ngModel.file.install.email" required>
    </div>
  </div>

  <div class="form-group">
    <label for="reference" class="col-sm-4 control-label">Reference</label>
    <div class="col-sm-8">
      <input type="text" class="form-control" id="reference" name="reference" placeholder="Enter a reference" ng-model="ngModel.file.install.reference" required>
    </div>
  </div>
</div>