Hi Jerry,
Well, I still believe the issue you are having is a coffeescript one. You
see, Restangular.all('jewels').getList().$object returns a empty array.
Then it goes off and does its job, and once the results are in, the array
is extended with the result. You see this reflected in the console.
(logging to the console gives a 'live' presentation of an object/array, not
an point in time display. You first you log out an empty array, which then
is filled once the results come in. that is why the console log is working
for you. I suspect your use of coffee-script breaks this reference somehow.
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.