First of all, I'm fully aware that, this is a very simple question. but I can't find the solution.
I want to make the foldable leg for a table like this : so I cut top and bottom of each leg 10 degrees. and installed the hinges : The problem is "pin part" when it folds , so I cant attach the leg surface to the table top sheet.
EDIT : According to Fred_dot_u answer :
I bought the hinge that you've mentioned from the local store, The point is that hinge does not fold in the direction that I want or I'm installing that in the wrong way?