Array
[
code: 'code',
specName: [
0: 'First',
1: 'Second',
2: 'Third'
],
year: [
0: '2011',
1: '2012',
2: '2013'
]
];
The Lowdown
I am using AngularJS to output the data, using ng-repeat="name in module.specName". What I would like to do is link year[0] with specName[0] and so forth. So my output will look like:
-------------------
| specName | year |
-------------------
| First | 2011 |
-------------------
| Second | 2012 |
-------------------
| Third | 2013 |
-------------------
Question
Could I be pointed in the right direction of how I could go about achieving this. Is there an angular .filter that I have to write or some data re-structuring in the angular app or something.