Segunda-feira, 23 de Dezembro de 2013 16:23:30 UTC, Daniel Lopez escreveu:
>
> Hi.
>
> I have a service
>
> dashboardServices.factory('Phone', ['$resource',
> function ($resource) {
> var resource = $resource('http://localhost:9000/api/json', {}, {
> query: { method: 'GET'} });
> return resource;
> } ]);
>
> that returns me this
>
>
> {"List":[{"Name":"chart","Values":[10,11,12,13,14,15]},{"Name":"chart","Values":[20,21,22,23,24,25]}]}
>
>
> when i do this in my html file {{phones}}
>
> I want to use the the arrays to build a chart. How can i separate that
> list do it?
>
--
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.