It's amazing how many times over the years I have had to come up with a way to mount a piece of gear at a precise angle.
The latest being the rudder feedback unit on our new-to-us J/109, which needed to be mounted so it will operate in the same plane as the autopilot tiller arm mounted on the angled rudder shaft.
I guess I could have cut a wedge out of wood, but it's hard to see how to do that safely and easily on a band or table saw, although I suspect that better carpenters than me—a lot of those around, I'm sure—will know a way.
Anyway, being a total fanboy of the stuff, when faced with anything like this, my first thought is WEST System epoxy.
In this case the solution was easy and took less than an hour, soup to nuts: