I need to make a array of object just like bellow example

```
[{
    UOM: ['DITEC', 'ENGLISH', 'SOMTHING']
}, {
    BIT: ['DITEC', 'ENGLISH', 'SOMTHING']
}, {
    LMU: ['DITEC', 'ENGLISH', 'SOMTHING']
}, {
    BCS: ['DITEC', 'ENGLISH', 'SOMTHING']
}, {
    HND: ['DITEC', 'ENGLISH', 'SOMTHING']
}]

```

This is what i have tried so far [`**JSFIDDLE**`](http://jsfiddle.net/DPdq2/)

```
var division = [];
var batches = [];
var obj = {};

for (var i = 0; i < data.length; i++) {

    obj[data[i].D_Code] = data[i].Default_Batch;
    division.push(obj);

}

console.log(division);

```

I want pure javascript solution or angular solution.No More Jquery Please