replaced setTimeout with $timeout, moved debounced function to $save in each $storage instance

$save will trigger a syncronous storage sync