      name="repeatpassword"
      type="password"
      aria-invalid="{{ errors.repeatpassword !== undefined }}"
      ng-keyup="errors.repeatpassword = undefined"
    />

    <span>{{ errors.repeatpassword }}</span>
  </label>

  <button type="submit">Sign up</button>
</form>

<section ng-if="$ctrl.success">
  Account successfully created. Proceed to <a ng-sref="login">Log in</a>
</section>
