add max and min angle condition to ui

add max and min angle condition to ui