Hi,

Database provide following JSON string.

$scope.items = [
{"Name":"Michael","Region":"Canada","Subject":"Chemistry","Action":"Email"},
{"Name":"Michael","Region":"Canada","Subject":"Biology","Action":"Call"},
{"Name":"Kristen","Region":"USA","Subject":"Chemistry","Action":"Skype"},
{"Name":"Kristen","Region":"USA","Subject":"Physics","Action":"Email"},
{"Name":"Kristen","Region":"USA","Subject":"Chemistry","Action":"Call"},
{"Name":"Kristen","Region":"Europe","Subject":"Chemistry","Action":"Call"},
{"Name":"Kristen","Region":"Europe","Subject":"Biology","Action":"Call"}
];



Currently displaying data like below: (using ng-repeat)

Name        Region           Subject           Action
Michael       Canada        Chemistry       Email
Michael       Canada        Biology           Call
Kristen        USA            Chemistry       Skype
Kristen        USA            Physics          Email
Kristen        USA            Chemistry       Call
Kristen        Europe        Chemistry        Call
Kristen        Europe        Biology            Call



Expected Result (Tabular Format)
            
Name          Region        Subject                         Action        
    
Michael       Canada        Chemistry,Biology         Email,Call
Kristen        USA            Chemistry,Physics        Skype,Email,Call
Kristen        Europe        Chemistry,Biology          Call


Not understood how to use ng-repeat to get expected result (as shown above)

Kindly guide.

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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to