fixed $http not work when $validator.validate()
fixed validate() at directive