First call is aborted
I am not sure if this is related to my config, but I noticed that my very first Restangular call is ABORTED or CANCELLED.
My solution to this problem is forcing Restangular.all('entity').getList(); which I expect to get cancel, then I use Restangular to handle subsequent api calls. Any suggestion on how to debug this issue?
Followup, the issue I mentioned above is because I set a timeout in the config thinking that the timeout is in seconds, it is infact in milliseconds.
RestangularProvider.setDefaultHttpFields({ timeout: 3600 });
We should probably mentioned the unit of timeout in the docs.
I don't think that this is going to be an issue as long as timeout uses milliseconds in every case (haven't heard of any implementations that use a different unit) :)