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

Shrink dat coed ;u

Closes #9704