I am dealing with multiple checkboxes used to filter a set of data. however I do not want the checkboxes to trigger a filter after every single click of a checkbox so I wanted to debounce it. perhaps wait 500ms to a second after the last checkbox has been selected.
check out the my plnkr
<input type="checkbox"
ng-model="user.cool"
ng-model-options="{ debounce: 1000 }"/>
<input type="checkbox"
ng-model="user.lame"
ng-model-options="{ debounce: 1000 }"/>
here it basically just queues the checkbox click options and changes the model seconds apart but I want it to change both at the SAME time. How can I accomplish this?
Thanks!