Thanks for your answer.
I tried to use a success method instead of a then() but it was the same. I
also tried in the then() to do
FactoryName.search("myJson").then(function(data){
$scope.myData = data.data;
but it was the same, i got a page without any data :(
On Sunday, May 4, 2014 7:42:59 AM UTC+2, Sander Elias wrote:
>
> Hi,
>
> The .then method retrieves an response object, not only the data as a
> .success method does.
>
> 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.