I did one of mine a year or so back.
I used a factory handle to get an idea of where the center of the bend needed to be and drew a line on the handle to be bent. I also cut a chunk of carboard to the same angle as the factory handle.
Then I clamped the bolt in a vise with relatively smooth jaws using the line I had drawn to determine where to position the handle in the vise. The edge of the vise jaws are going to determine where the bend occurs.... basically their going to act as a die of sorts.
Then I used a cutting torch set low to put some heat on the handle, centered on the mark(edge of jaws). When it hit dull red, I started tapping on the knob until I had the angle I was after. If you have a thread on knob, you're going to have to strike the handle and not the knob. There was a small amount of blending that needed to be done afterward.
I'm not gonna bullshit you, if you're not accustomed to working with steel, this project could get interesting (and expensive). You might consider practicing on some round or square bar first, or having it done by a pro.
Remember to keep heat away from the critical areas of the bolt. You don't want anything but the handle getting hot. Putting heat to a firearm isn't something to be taken lightly.