An angularjs directive for applying line clamp to an element and its text