Can you please explain why after changing my code I was getting data object
inside of the returned data?

On Sat, Sep 12, 2015 at 9:02 AM mark goldin <[email protected]> wrote:

> Yes, it works that way. Thank you.
>
> On Sat, Sep 12, 2015 at 8:42 AM Sander Elias <[email protected]>
> wrote:
>
>> Mark,
>>
>> The benefit is that you are no longer using depreciated api-calls.
>> try: deferred.resolve(data.data);
>>
>> Regards
>> Sander
>> ​
>>
>> --
>> 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/pU8sW45XZxo/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.
>>
>

-- 
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.

Reply via email to