I made this video a while back. The spring needs to be parallel with the slide. You can try installing it with the Glock pointing into the air, that will allow the spring to lean into the frame. Or you can do it like me in the video and slide it from back to front.
https://www.youtube.com/watch?v=XCwMhTwG1JM