Angular directive to truncate multi-line text to visible height