There is two problems in the rcMailgunValid directive.
- The
mailgunStatus has no effect. it doesn't affect the scope.
- In the
inProgressWrapper function, the variable error_message is not declared. (it seams that is a copy/paste of the errorWrapper function that there it is the function parameter)
There is two problems in the rcMailgunValid directive.
mailgunStatushas no effect. it doesn't affect the scope.inProgressWrapperfunction, the variableerror_messageis not declared. (it seams that is a copy/paste of theerrorWrapperfunction that there it is the function parameter)