سؤال

I would like to validate multiple elements with ng-model. When every single one of them is true, perform an action.

Is this possible?

هل كانت مفيدة؟

المحلول

You can use AngularJS built-in validation.

Here is a good resource describing how to use it:
http://scotch.io/tutorials/javascript/angularjs-form-validation

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top