<form name="form" ng-submit="send()">
  <div class="form-group">
    <input
      class="form"
      id="name"
      name="name"
      type="text"
      ng-model="model.name"
      placeholder="Name"
      required>
    <div ng-show="form.name.$dirty && form.name.$invalid">
      <span ng-show="form.name.$error.required">
        The name is required!
      </span>
    </div>
  </div>
  <div class="form-group">
    <input
      class="form"
      id="emailAddress"
      name="emailAddress"
      type="email