> Can someone help me understand why this is happening? Thanks. Because your factory's all function is not returning anything (i.e. it returns undefined).
*TaskResource.query()* returns a promise. When the promise is resolved the 'anonymous' function is called. This is not the same function as the 'all' function (which by this time has already returned undefined) -- 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.
