Got what you mean. I tried normal align, and the closest i could think of is to normal align object1 to object2, then move its corner via vertex snap. see attached (I'm gettin a hang of this gif thing, but hard to meet the 19.5kb cap though, thus the size)

. Meanwhile, hope someone could point out a one-command solution.
Hope that helped.