I am new to AngularJS (and web development), but am very excited about the possibility of two-way binding and ng-repeat .
I would like to create a table, such as a structure of text fields, where I can add more fields to a column and then add fields to the columns on the right. Wish to use it to create an attached JSON file.

We are currently thinking of a json structure like this, but would like to have a flatter structure ...
{ "NoClicks": { "C1": ["R1"], "C2": ["R1"], "C3": ["R1"] }, "C1_R1_clicked": { "C1": ["R1", "R2"], "C2": ["R1", "R2"], "C3": ["R1", "R2"] }, "C2_R1_clicked": { "C1": ["R1"], "C2": ["R1", "R2"], "C3": ["R1", "R2"] } , "C3_R1_clicked": { "C1": ["R1"], "C2": ["R1"], "C3": ["R1", "R2"] } }
Update
I tried to answer my question and is very close to the goal.
But I would be grateful for any answer (or motive for my answer) that allows me to archive the target. This, of course, will mean as a solution to the question.
source share