I am attempting to verify a condition and here is how it appears:
<ons-list-item ng-repeat="EventList in EventLists" ng-if="EventList.start.dateTime | DateMonth == TodayDetail">
I am encountering difficulties with this
ng-if="EventList.start.dateTime | DateMonth == TodayDetail"
The comparison of dates should be in the format "Jun 16" == "Jun 16", but an error is arising:
Error: [$parse:syntax] Syntax Error: Token '==' is an unexpected token at column 38 of the expression [EventList.start.dateTime | DateMonth == TodayDetail] starting at [== TodayDetail].
Has anyone else experienced this issue? Or does anyone know how to resolve it?
I simply want to retrieve the EventList for today's date.