Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Should there be an $http example in the "With Promise" topic? #777

Closed
Swadish opened this issue Jun 24, 2016 · 1 comment
Closed

Should there be an $http example in the "With Promise" topic? #777

Swadish opened this issue Jun 24, 2016 · 1 comment

Comments

@Swadish
Copy link

Swadish commented Jun 24, 2016

On the "With promise" documentation under the "Basic usage" you show only the example getting data via $resource, but it would be nice to show an example using the $http object or any other ajax call.

I believe that in that example it might not be clear to everyone that you have to use the $q object to return a promise, if you're going to use another kind of asynchronous call.

@Swadish Swadish changed the title Should there be an $http example in the "With Promise" example? Should there be an $http example in the "With Promise" topic? Jun 24, 2016
@Swadish
Copy link
Author

Swadish commented Jun 27, 2016

l-lin added a commit that referenced this issue Jun 27, 2016
@l-lin l-lin closed this as completed Jun 27, 2016
l-lin added a commit that referenced this issue Sep 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants