i have two variables isLoader and isError, when isLoader is true a img will appear and when isError is true that img should disappear.
if(isLoader == true){
<img src="#" alt="" style="display:block;">
}
else if(isError == true){
<img src="#" alt="" style="display:none;">
}
how to apply this if-else statement in angular.
Aucun commentaire:
Enregistrer un commentaire