I need to join two json object using angularJs.
My Object example:
{
"Details1" : [ {
"Details1Id" : 119,
"Details1title" : "Title1",
"Details1description" : "Description1"
} ],
"Details2" : [ {
"Details2Id" : 150,
"Details2title" : "Title2",
"Details2description" : "Description2"
} ]
}
I have objcet like this I need to join Details2 with Details1
I need the result in following manner. Is it possible with angularJS ? Please suggest
{
"Details1" : [ {
"Details1Id" : 119,
"Details1title" : "Title1",
"Details1description" : "Description1"
} ,{
"Details2Id" : 150,
"Details2title" : "Title2",
"Details2description" : "Description2"
}]
}