For some reason I can see the ng-hide class comes when the page render. I am making changes to the existing code. In my code there is no ng-hide.
Below are the HTML code.
<div ng-show="SpecialConditionsForm.{{provider.authorisedPersonFullName}}.$dirty" ng-show="SpecialConditionForm.{{provider.authorisedPersonFullName}}.$error" class="control-label ng-show">
<span ng-show="this.SpecialConditionsForm.{{ provider.authorisedPersonFullName }}.$invalid">Enter a name</span>
<span ng-show="SpecialConditionsForm.{{provider.authorisedPersonFullName}}.$error.required"></span>
</div>
<div ng-show="SpecialConditionsForm.{{provider.authorisedPersonPhone}}.$invalid" class=" control-label">
<span ng-show="SpecialConditionsForm.{{provider.authorisedPersonPhone}}.$error.required"></span>
<span ng-show="SpecialConditionsForm.{{provider.authorisedPersonPhone}}.$error.maxlength">Max length: 10</span>
<span ng-show="SpecialConditionsForm.{{provider.authorisedPersonPhone}}.$error.pattern"> Allowed: Only Numbers</span>
</div>
<div ng-show="SpecialConditionsForm.{{provider.authorisedPersonPhoneExt}}.$invalid" class=" control-label">
<span ng-show="SpecialConditionsForm.{{provider.authorisedPersonPhoneExt}}.$error.maxlength">Max length: 4</span>
<span ng-show="SpecialConditionsForm.{{provider.authorisedPersonPhoneExt}}.$error.pattern"> Allowed: Only Numbers</span>
</div>
<div ng-show="SpecialConditionsForm.{{provider.authorisedPersonEmail}}.$invalid" class="text-danger control-label">
<span ng-show="SpecialConditionsForm.{{provider.authorisedPersonEmail}}.$error.required">required</span>
<span ng-show="SpecialConditionsForm.{{provider.authorisedPersonEmail}}.$error.maxlength">Max length: 10</span>
</div>
Is someone able to help?