Hi Nicolás!

Your Angular Code seems perfectly fine, I can't figure out anything wrong 
in it.

In spite of you saying that 

I'm sure that the *roles* array is not empty, because when I inspect the 
> data in the Developer Tools (Google Chrome, Network tab), the response 
> contains all data. Even in the API logs (on the server side) the *roles* 
> array is not empty.


are you sure you're not using an asynchronous job getting the account roles 
in the server-side and sending the response before getting this data?

Regards,
*Luís Loureiro*

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

Reply via email to