Loop Through Object Typescript Angular Momentum Formula