-
Display all error message on page loading in AngularJS
about 9 years ago
-
about 9 years ago
Hi Bhagwan
You can hide the error message on page loading in angularJS.
If you are using ng-show directive then use below CSS code for hiding the error message on loading page.[ng\:show], [ng-show], .ng-show { display: none !important; }
If you are using ng-message then use below CSS code :
[ng\:message], [ng-message], .ng-message { display: none !important; }
This code also useful for custom directive :)
-
about 9 years ago
Thanx Babita
It's working fine :)
2 Answer(s)