Let's say i have such two objects:
first:
[
{
id: "123",
title: "123",
options: []
},
{
id: "456",
title: "456",
options: [
{
id: "0123",
title: "0123",
options: []
}
]
},
{
id: "789",
title: "789",
options: []
},
]
and second
[
{
id: "123",
title: "123",
options: []
},
{
id: "789",
title: "789",
options: []
},
]
as you could see in second array i'm missing this part:
{ id: "456", title: "456", options: [ { id: "0123", title: "0123", options: [] } ] }
how it would be right and better to iterate and find missing elements in angular?