Loosen both bolts, then take one side off and the spring will recoil.
When putting back on just do the reverse, one side on then you can yank the other side on, stretching the spring in the process.
Look out for it being twisted or having rust holes, both are a bad thing.