An AngularJS filter that truncates string based on number of characters/words and append ellipsis(by default).