<div class="editor-container">
  <h4 class="bg-primary">Reset Password</h4>

  <form name="forgotPasswordForm" ng-submit="forgotPasswordForm.$valid && resetPassword()" novalidate>

    <div class="form-group">
      <input class="form-control" type="email" name="email" placeholder="Enter your email address..." ng-model="forgot.email" required>
      <p class="help-block" ng-show="forgotPasswdForm.$error.required && forgotPasswordForm.email.$dirty">Please enter your email address.</p>
    </div>
    
    <div class="btn-group-right">
      <button class="btn btn-primary" type="submit" ng-disabled="forgotPasswordForm.$invalid">Reset Password</button>
      <button class="btn btn-danger" ui-sref="login">Cancel</button>
    </div>
  </form>
  
</div>