I have a problem with this code:
if (90 >>= angle =<< 180)
The error explanation is:
The left-hand side
I see some errors in your code. Your probably meant the mathematical term
90 <= angle <= 180, meaning angle in range 90-180.
if (angle >= 90 && angle <= 180) { // do action }