Can I build an adjustable slanted table by placing bearings between the legs and the desk?
I would use a hinge on each leg as the attachment, with the hinge facing forward. You want something reasonably tight so it doesn't shake the desk around. 

You'll probably have to put a wood block on top of the legs, so that the legs and hinge both have something to attach to.