rotate images by custom angle in photoshop
The Image Rotation commands let you rotate or flip an entire image. The commands do not work on individual layers or parts of layers, paths, or selection borders. If you want to rotate a selection or layer, use the Transform or Free Transform commands.
Example
Step 1
Go to : Image > Image Rotation > Arbitrary
Step 2
Rotate Canvas dialog will be opened, give any angle with CW (clockwise) or CCW (counterclockwise) direction as shown in the following image. Your image will be rotated accordingly.