{{text | slice : 0 : (expanded ? text.length : amountOfCharacters())}} {{expandText}} {{shrinkText}}