Check angle earlier to avoid extra string math.

Check angle earlier to avoid extra string math.
Cache property names once they have been determined to avoid string math.