jpkleemans / angular-validate

Painless form validation for AngularJS. Powered by the jQuery Validation Plugin.
MIT License
68 stars 33 forks source link

How to include this plugin as independent module #17

Closed Toomavic closed 7 years ago

Toomavic commented 7 years ago

First I have to say thank you for this awesome plugin, I need to know # the best practice of how to integrate this as an independent module

I am using many custom validate methods, so it would be nice if I separate them from main angular.module.config

jpkleemans commented 7 years ago

You can add the rules to the config of specific modules: angular.module('module_name_here').config

Toomavic commented 7 years ago

Greaaaaat Thanks