I have the following json structure:
{
"items": [
{"name":"item1"},
{"name":"item2"},
{"name": "item3"}
],
"groups": [{
"name": "group1",
"items": ["item1", "item3"]
},
{
"name": "group2",
"items": ["item2", "item3"]
},
{
"name": "group3",
"items": ["item1", "item2"]
}]
}
As you can see in my groups, I have element names. Is there a way in angularjs to automatically update rows in group> items when the name of a particular item changes. (Is there a way to connect certain parts of the json model?)
Thank.
source
share