Hi!
I have a problem, i want hide filtered date in ng-class, but there an error:
<span class="date-equal-list" ng-class="{disabled: lis.REND_DATUM_KEZD | date : 'MMM' == lis.REND_DATUM_VEGE | date : 'MMM'}">
and in css:
.date-equal-list{
opacity:1;
}
.date-equal-list.disabled {
opacity: 0;
}
Error: [$parse:syntax] Syntax Error: Token '|' is unexpected, expecting [}] at column 32 of the expression [{disabled: lis.REND_DATUM_KEZD | date : 'MMM' == lis.REND_DATUM_VEGE | date : 'MMM'}] starting at [| date : 'MMM' == lis.REND_DATUM_VEGE | date : 'MMM'}].
What is the problem?
Thanks!