Angular directive to truncate and expand text by it length. forked from ng-text-truncate by Pavel Konan