Age Should be between 18 to 60.
If you want to apply conditional validation on 'Project Duration' or 'Employee Experience', then you need to add 'Employee Age' input greater than 25
{{employeeinfoForm.controls?.age?.errors?.range.message}}
If Your age is above 25 your minimum experience should be between 2 to 20.
Conditional validation will be applied if the 'Age' will be greater than 25.
Conditional Expression with type 'string'
{{employeeinfoForm.controls?.experience?.errors?.range.message}}
Shows Custom Validation Message
Please enter salary between 1000 to 200000
{{employeeinfoForm.controls?.salary?.errors?.range.message}}