up vote
down votefavorite 
<https://stackoverflow.com/questions/45380967/what-is-the-best-way-to-filter-sort-or-manipulate-data-to-be-presented-in-angula#>

I have a set of resources (in JSON format) that I receive from a service. 
The resources have properties like name, which operator they belong to, 
status, power flow etc. First I select the operator from a drop down, or 
the status of the resources from another drop down. Then I display the 
resources either as an array/map or list. Then I sort them as per serial 
number or status, and I finally use color to distinguish between properties 
like status, power flow, state of charge etc. Finally, these resources are 
displayed as per the options selected. I'm attaching a small picture. 

<https://lh3.googleusercontent.com/-XfzITUPvRnU/WX86wyp9gcI/AAAAAAAAF6Y/ypxAS73nTQgnRIIAPmuM1Nm1crpTtq83QCLcBGAs/s1600/eg.PNG>


What is the best way to go about implementing this? I was thinking using 
routing where each selector has child routes embedded inside it and 
ultimately leads you to the view.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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