Hi Steven,

What's the API response? If it is root wrapped, that might explain it.

--
chrisrhoden, from my telephone
On Jan 4, 2014 12:36 PM, "Steven Brooks" <[email protected]> wrote:

> Sander,
>
> When I run the following code in the browser:
>
> Todo.query( function(x) {console.log(x); $scope.todos=x; });
>
> I get back an empty array.
>
> Also not sure if I am doing it right, all I am doing is writing the code
> into the console on Chrome, not sure if I am to do it in the code somewhere.
>
> On Saturday, January 4, 2014 12:01:29 PM UTC-5, Sander Elias wrote:
>>
>> Hi Steven,
>>
>> the formatting is a trick I got from Daniel, its called ‘markdown here’.
>>
>> Can you try the following code, and give back the result from the console?
>>
>> Todo.query(function (x) {
>>     console.log(x);
>>     $scope.todos= x;
>> });
>>
>> 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/groups/opt_out.
>

-- 
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/groups/opt_out.

Reply via email to