Angular.JS directive to equalize the height of different elements across templates