ngular is automatically adding ‘ng-invalid’ class on ‘required’ fields
Since the inputs are empty and therefore invalid when instantiated, Angular correctly adds the ng-invalid class. A CSS rule you might try: Which basically states when the field has had something entered into it at some point since the page loaded and wasn’t reset to pristine by $scope.formName.setPristine(true) and something wasn’t yet entered and it’s invalid then the text … Read more