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!

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to