Angular service for throttling and/or debouncing function calls.