Hello list, i have to consume rest service in my application and the output of resource is "hashed" JSON (probably python-flask is behind the scenes). I can not use ng-resource in my factory because of the structure like:
{ 'books': [ { 'name':'1'}, { 'name':'2'}, ] } ng-resource expects to see [ {'name':'1'},{'name':'2'} ] How to overcome this ? Or maybe the correct way would be to use $http for this kind of task ? -- 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 angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.