The angle input field will only take an expression that resolves to a single number. If you are trying to set the angle of an object to point at the mouse position use the following in the field:
angle(object.X, object.Y, mouse.X, mouse.Y)
This will return the angle from the object to the mouse cursor.