Angular directive for multiline ellipsis support