Will joining angled 2x4s end to end solve this woodworker's problem?
Click on the image to open

I'm building a bench and I need to attach the back rest to the seat. I was thinking of using 2x4s cut at an angle. 

I did a test run with pocket screws, but that's nowhere near strong enough. What would be the best way to join these boards and make them strong enough for a couple of people to lean against? 

Thanks for any help!