fix (directiveCompiler): add promise resolution to resolve function
fix (directives:form): remove obsolete implementation