Fix timeout when use ajax of angular delete