Angular module for function throttling or debouncing. Based on the work and write up from Ben Alman