If you are using the layer name, put it in "double quotes". If you are using the layer number, just type the number (ie. LayerAngle(2) for layer 2's angle). For anything to be able to rotate, there must be room for the display to rotate to. With bounded scrolling on and a layout the size of the display, there is no room to rotate anywhere. Enable unbounded scrolling or make the layout a lot bigger for rotation to work.