refactor(Angular) Use Object.keys instead of manually constructing an array.

No performance degradation: http://jsperf.com/get-all-keys-from-object