Setting the angle of an object

How do I set the angle of an object?[/b]

use transform.eulerAngles

Thank you