I am showing FreeEvents using checkbox. I am passing the value to the filter as filter:filterFreeEvent
. This is working fine.
But I want to avoid passing value in the filter rather I want to use a change event of a checkbox to filter.
Something like
<input type="checkbox" ng-model="showFreeEvent" ng-change($event)">
This is my JsFiddle example.
Has anyone done something like this?. Any help or suggestion would be appreciated.
Thanks in advance
Aucun commentaire:
Enregistrer un commentaire