I have an object like that:
vm.data = {
a : {
v : 25
},
b : {
v : "",
c : "f + a"
},
c : {
v : "",
c : "b + a"
},
d : {
v : "",
c : "c + e"
},
e : {
v : "",
c : "a + c"
},
f : {
v : "",
c : "b + c"
}
};
and I would like to have all these calculations done every time I change A. I cannot find a solution to solve this problem. Any idea?
PS: this is just an simple example of an object hundreds time bigger and complicated than this.