Imagine having these two sets of objects:
first set:
[
{
id: "123",
title: "123",
options: []
},
{
id: "456",
title: "456",
options: [
{
id: "0123",
title: "0123",
options: []
}
]
},
{
id: "789",
title: "789",
options: []
},
]
and the second set:
[
{
id: "123",
title: "123",
options: []
},
{
id: "789",
title: "789",
options: []
},
]
In the second array, a part is missing:
{ id: "456", title: "456", options: [ { id: "0123", title: "0123", options: [] } ] }
What would be the correct and efficient method to iterate through and identify missing elements in Angular?