What's the AngularJS way to get the value by key from the object?
var myobj= {
"set1": {
"key": "B11",
"color": "yellow"
},
"setA": {
"key": "F34",
"color": "green"
}
}
let's say I'd like to grab "green"
from myobj
by "F34"
? (myobj could be any number of objects).
Can it be done by an AngularJS way or I have to take a look into SO question