kelp404 / angular-validator

AngularJS form validation.

Home Page:http://kelp404.github.io/angular-validator/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when calling $validator.validate

mplayer opened this issue · comments

when using the I get the $validator.validate method following error

TypeError: Cannot read property '$$hashKey' of undefined
at angular.module.directive.link.isAcceptTheBroadcast (http://localhost:9000/bower_components/angular-validator/dist/angular-validator.js:219:86)
at http://localhost:9000/bower_components/angular-validator/dist/angular-validator.js:225:18
at Scope.$get.Scope.$broadcast (http://localhost:9000/bower_components/angular/angular.js:12887:28)
at Object.validate (http://localhost:9000/bower_components/angular-validator/dist/angular-validator.js:550:15)
at Scope.$scope.submitTierRequest (http://localhost:9000/module/member/wizard/contract-confirmation-controller.js:74:24)
at Parser.functionCall (http://localhost:9000/bower_components/angular/angular.js:10773:21)
at http://localhost:9000/bower_components/angular/angular.js:18981:17
at Scope.$get.Scope.$eval (http://localhost:9000/bower_components/angular/angular.js:12608:28)
at Scope.$get.Scope.$apply (http://localhost:9000/bower_components/angular/angular.js:12706:23)
at Scope.ng.config.$provide.decorator.$delegate.proto.$apply (:855:30)

when debugging the code I notice the scode variable does not have the object I am using for the fields.

please list down your code otherwise nobody can help you

code