Monday 15 March 2010

angularjs - Angular Validation $parsers -


When we have a controller or ng-model-controller, then we

  ctrl You can. $ Parsers.push (function (view) (ctrl. $ SetValidity ('valid', true;)});   

And finally the $ digest automatically render and validation What happens if I want to validate an area on the scars and I

  element.blur (function () [[validations] ctrl. $ SetValidity ('valid', incorrect) ;})   

And the results do not change the elements of HTML into NG-Banded, how to render this change?

You ctrl. $ SetValidity ('valid', false); within

  to claim the claim. $ Applied (function () {ctrl. $ SetValidity ('valid', false);})    

No comments:

Post a Comment