class if condition ionic code example
Example: class if condition ionic
<span class="char-left" [ngClass]="{'char-left-error' : ratingForm.controls.review.length > 0}">
<span class="char-left" [ngClass]="{'char-left-error' : ratingForm.controls.review.length > 0}">