Adapter to convert a 45-degree angle wall electrical plug into a straight plug
Simplest and most reliable option (no sliding contacts required) is a 1 foot extension cord (or a longer one, but 1 foot will get the desired degree of freedom.)