js:

$scope.values = $resource(url).query();

html:

{{values}}



On Thursday, December 19, 2013 5:16:58 PM UTC+1, Charly Román wrote:
>
> I don't see your code. 
>
> 2013/12/19 Kristoffer Sjögren <[email protected] <javascript:>>: 
> > Hi 
> > 
> > When I use $resource(url).query() to fetch an array of strings angular 
> seems 
> > to think its a list of characters and prints something like this: 
> > 
> > 
> [{"0":"p","1":"a","2":"g","3":"e","4":"V","5":"i","6":"e","7":"w"},{"0":"n","1":"e","2":"w","3":"S","4":"e","5":"s","6":"s","7":"i","8":"o","9":"n"}]
>  
>
> > 
> > is this a bug or am i doing something wrong? 
> > 
> > Cheers, 
> > -Kristoffer 
> > 
> > -- 
> > 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] <javascript:>. 
> > To post to this group, send email to [email protected]<javascript:>. 
>
> > Visit this group at http://groups.google.com/group/angular. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>

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

Reply via email to