fix(debounce): use $timeout for deferring tasks