Hi Steven,
Your problem isn't clear from the code you provided. Can you provide us
with a plunk <http://plnkr.co/edit/tpl:jYx438Sc83AjRooqPamF>, showcasing
your issue.
Aside from that, your factory is overly complicated. $http does return a
normal promise, so you can replace what you have with:
$http
.jsonp(url)
.then(function (response) {return response.data; })
Regards
Sander
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.