fix a bug when errors happens without response

:bug: Sometimes errors happens on back-end and we don't receive any response (maybe the connection is broken by proxy network) and the loading progress bar stops in the middle at screen. 
Now, if there is no response object on the response callback, I use a $q.reject to ensure the promise's behavior correctly.