Angular directive used to clamp an element by adding ellipsis to it if the content inside is too long. Based on Clamp.js by Joseph Schmitt: http://joe.sh/clamp-js
You can find a demonstration on JSFiddle here : https://jsfiddle.net/Resendra/L1h6pj84/