     $scope.$watch 'confirmPassword', @verifyPasswordMatch, true
 
   signup: (email, password, confirmPassword) =>
-    @errorMessage = SignupController.ERROR_NO_EMAIL unless email
-    @errorMessage = SignupController.ERROR_NO_PASSWORD unless password
-    @errorMessage = SignupController.ERROR_PASSWORDS_MATCH unless confirmPassword == password
+    @signupForm?.email.$setTouched()
+    @signupForm?.password.$setTouched()
+    @signupForm?.confirmPassword.$setTouched()
 
     @AuthenticatorService.register(email, password)
     .then (result) =>

  passwordRequiredError: =>
    return true if @signupForm?.password.$error.required && @signupForm?.password.$touched

angular.module('email-password').controller 'SignupController', SignupController

      @errorMessage = SignupController.ERROR_REGISTERING

  verifyPasswordMatch: =>
    if @scope.confirmPassword?.length && @scope.password != @scope.confirmPassword
      @signupForm?.confirmPassword.$error.match = true
    else
      @signupForm?.confirmPassword.$error.match = false

  emailRequiredError: =>
    return true if @signupForm?.email.$error.required && @signupForm?.email.$touched
