Example of Angular-Validation with Remote Validation
Directive
×
ERRORS!
{{ item.field }}: {{item.message}}
Type '
abc
' for a valid answer
Remote Validation (error msg using alt:)
Type '
def
' for a valid answer
Remote Validation (error msg declared in custom function)
{{ 'SAVE' | translate }} (ngDisabled)
{{ 'SAVE' | translate }} (ngSubmit)
Service
×
ERRORS!
{{ item.field }}: {{item.message}}
Type '
abc
' for a valid answer
Remote Validation (error msg using alt:)
Type '
def
' for a valid answer
Remote Validation (error msg declared in custom function)
{{ 'SAVE' | translate }} (ngDisabled)
{{ 'SAVE' | translate }} (ngSubmit)