I did (look on network browser tools): the response is [{}]
2014-10-20 15:47 GMT+03:00 Mauro Servienti <[email protected]>:
> It was on a Mvc controller, but now is an Api Controller . And I have
> the same problem.
>
> I want to use Web api.
>
> *[.m] in MVC that can’t work, full stop, you need to introduce some sort
> of a “JsonResult” on the server, in WebAPI it works out-of-the-box, I do
> that the entire day :-)*
>
> *You do not need the JSON.parse on the angular side, what you get back is
> already a valid json response, take a look with the browser tools :-)*
>
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/6NwbkWQHb8M/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>
--
*Bogdan Mihai Ionescu*
--
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.