Rotate Angular Limits in Physics Constraint

I wanna make joints like elbow, knee, etc. They allowed to move only one direction.
I wonder use Alt + Left Drag. But I cannot understand.
How do you guys usually set range of joint motion?