I have an object like this:
Object {0: 0, 1: 2, 2: 4, 3: 6, 4: 8, 5: 11, 6: 13, 7: 15, 8: 17, 9: 19, 10: 22, 11: 24, 12: 26, 13: 28, 14: 30, 15: 33, 16: 35, 17:
You can try this:
Javascript
self.foo = [] angular.forEach [9..364], (i, el) -> self.foo.push({ key: el, value: ~~(el / 0.45359237) })
HTML