Here is a goal: How to Attach Hinges for an Easy Collapsible Worktable

Which way makes more sense to accomplish this goal?
To attach the hinges for your collapsible worktable, you will screw the hinges into wooden blocks secured to the wall with 3" construction screws. Fasten the hinges so that when the top half of the hinge is positioned at 90 degrees, it will be perfectly flush with the top of the blocks so the tabletop sits properly.