angular app to calc polygons