Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cache logic similar to angular core #96

Merged
merged 1 commit into from Aug 26, 2014
Merged

Use cache logic similar to angular core #96

merged 1 commit into from Aug 26, 2014

Conversation

just-boris
Copy link
Contributor

I've encountered that, when $http.defaults.cache property has been set to true, loading bar isn't working. To fix that issue I borrow cache choose logic from original angular $http service (from there).

As you can see in new test, the interceptor now can successfully handle that case
fixes #16

chieffancypants added a commit that referenced this pull request Aug 26, 2014
Use cache logic similar to angular core
@chieffancypants chieffancypants merged commit 5a74331 into chieffancypants:master Aug 26, 2014
@chieffancypants
Copy link
Owner

Nice, thanks!

@chieffancypants chieffancypants added this to the next version milestone Aug 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rework isCached()
2 participants