Has anyone fitted the Sram Hydro shifters themselves?

I have a set of (used) Rival 22 shifters I'm trying to set up on a new bike.

The brakes went on and bled fine.

The inner gear cables went in fine.

But the outer exits the shifter at a crazy angle, different to cable brake brifters:

Sram Road Hydraulic shifter outer cables-inutpntl.jpg

when I then push the outer close to the bar for taping, it bends the outer at a crazy tight angle:

Sram Road Hydraulic shifter outer cables-fggqxebl.jpg
This causes so much drag on the cable that shifting is impaired to the point that down shifts don't work!

Am I doing something wrong? Any pointers gratefully received.

I'm using Jagwire cables.