Hi Dmitry,
Angulars $http returns a promise that will get resolved with the complete
http response object:
The response object has these properties:
- data – {string|Object} – The response body transformed witSo you don't
h the transform functions.
- status – {number} – HTTP status code of the response.
- headers – {function([headerName])} – Header getter function.
- config – {Object} – The configuration object that was used to generate
the request.
- statusText – {string} – HTTP status text of the response
So, you don't have double array's at all, it is just that the data you put
in the data part is called data, wich might be a tad confusing :-)
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.