lynndylanhurley/ng-token-auth — pull request #48 by booleanbetrayal (2014-10-14 22:16:57+00:00)
Title: fix(error-handling): ensure authHeaders are updated on error responses if token headers are provided

I had originally opened this issue under devise_token_auth (see also: https://github.com/lynndylanhurley/devise_token_auth/issues/46), but this seems like something that should happen regardless of if the server chooses to update tokens during error responses.