i have the following pipe:
import {Pipe, PipeTransform} from '@angular/core';
@Pipe({
    name: 'isInPast'
})
export class IsInPastPipe implements PipeTransform {
    transform(date: Date, time: any) {
        let today = new Date();
        if (date < today) {
            return 'inPast';
        }
        return '';
    }
}
This takes two parameters.
Now i wish to send those in my html but i don't know how. i have tried:
 [ngClass]="isInPast:row.day:task.time"
i have also tried:
 [ngClass]="row.day task.time | isInPast:row.day:task.time"
Can anyone tell me how i can do this?
 
     
     
    