adding max-min-values to angle