Is there a way to postpone or delay a digest from happening?
I have a bunch of changes that I want to make to a model but I don\'t want the digest to fire until al
This is not a hack at all. Its a good question because large data sets can cause the $digest cycle to run very slowly when a user inputs text rapidly or holds down backspace. You can definitely do performance tweaks like being careful with your $watch
and $filter
functions, but sometimes its a better idea to delay the $digest
cycle using a debounce function.