I use angular Cli 6. I have several data from several services that I want to display all together on the same page. I would like to display the different div by increasing dates.
All my services work the same way:
<mat-card-content>
<mat-list *ngFor="let examenToDisplay of examensToDisplay | async">
<mat-list><mark><strong>{{ examenToDisplay?.dateexamen | date:' d/MM/y'}}</strong></mark> </mat-list>
<mat-list *ngIf="examenToDisplay.typeexamen"> Examen : <strong>{{ examenToDisplay?.typeexamen }}</strong> </mat-list>
<mat-list *ngIf="examenToDisplay.commentaires">Conclusion : <strong>{{ examenToDisplay?.commentaires }} </strong> </mat-list>
</mat-list>
</mat-card-content>
I have three others mar-card. How i can filter the three ? Thanks