Start to port `parseAngle`