Angular Typescript Map Function In Arduino