upgrade to angular 1.3 and add debounce for search