Restructuring Array Of Objects In Angular Measurement