What sort of hinge should I use??
Click on the image to open
Needs to fold out flush with the outside edge
Click on the image to open
Click on the image to open
Needs to lay flat in the folded-in position

Hii woodworkers, im completely new to woodworking and have a question about a small ceremonial tea table im working on. I want the legs to be able to fold underneath flat and then fold out at 90 degrees flush with the side of the top piece. Any suggestions would be greatly appreciated. I guess I'm having trouble visualizing the indents I would chisel if I want my leg to attach slightly in from the edge because when it folds out I want it to be flush...