Hello,
I am fairly new to angular, and I ran into a problem.
I have the following result from a query in an object:
"data" : [{"item":"item1", "date":"2015*01*01", "qty":"8"} .... and so on!
In table it would look like this:
item date qty
==============================
item1 2015-01-01 8
item1 2015-01-02 5
item1 2015-01-03 6
item1 2015-01-04 1
item2 2015-01-01 1
item2 2015-01-02 2
item2 2015-01-03 3
item2 2015-01-04 4
item3 2015-01-01 10
item3 2015-01-02 11
item3 2015-01-03 12
item3 2015-01-04 13
and in my view (html), I want to show this data like this
item 2015-01-01 2015-01-02 2015-01-03 2015-01-04
==================================================================
item1 8 5 6 1
item2 1 2 3 4
item3 10 11 12 13
How can I use ngRepeat to get the result I want? Or any other directive as
a matter of fact. I have tried hundrends of things but I can't seem to find
a good solution.
Thanks.
--
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.