I am using firebase and angular2. In the firebase, I am saving user informations: Name, Paid Date and Due Date. My html file looks like below:
<div> <label>Today's date:</label> {{todaysdate}}</div>
<ul *ngFor="let member of members" class="collection">
<!--<div *ngIf="todaysdate > member.joineddate;else noMembers">-->
<li class="collection-item" item-width="100%">
NAME: {{member.name}}
Paid Date: {{member.paiddate}}
Due Date: {{member.duedate}}
</li>
What I wanted to do is, change the color of every row whose duedate >= todaysdate. Would anybody suggest me or refer to correct link I should be following? I am a learner, and wanted to get through it, but stuck here.
Thank you!