which is the best method for the maping between 2 JSON files in angularJs I 
want to map beteween 2 JSON files and displayed it in my table.

JSON 1

[
        {
        "year": 2013,  
        "doctor": "Dr. Smith", 
        "illness": "Flu", 
        "apptdate": "3/12/2013",
                "details":"Patient had flu for 5 days. No medicines prescribed"
        },
        {
        "year": 2014,  
        "doctor": "Dr. ram", 
        "illness": "fever", 
        "apptdate": "31/12/2014",
                "details":"Patient had flu for 5 days. No medicines prescribed"
        }]

JSON 2


[
        {
        "year": 2013,  
        "cost": 260
        },
        {
        "year": 2014,  
        "cost": 360
        }]



I want to map these files based on the year , and displayed it in my 
smart-table.
Which is the best solution for this problem.. Please help.

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