If you want to apply conditional validation on 'Country Code' or 'State Code', then you need to add 'Country Name' input as 'India'
{{contactFormGroup.controls.countryName.errors.minLength.message}}
To apply validation here, write 'India' in 'Country Name' textbox because it is conditional expression.
Minimum length upto 3 characters.
Conditional Expression with type 'string'
{{contactFormGroup.controls.stateCode.errors.minLength.message}}
To apply validation here, write 'India' in 'Country Name' textbox because it is conditional expression.
Minimum length upto 3 characters.
Conditional Expression with type 'function'
{{contactFormGroup.controls.countryCode.errors.minLength.message}}