fixes ajoslin/angular-promise-tracker#59