Angular directive to truncate multi-line text