Relative Content

Tag Archive for angularslicetranslate

How to translate a string and then slice it in the template

I am working on an Angular application and need to display a translated string that is sliced to a specific length. My supervisor prefers that all logic that related to view better to be implemented directly in the view (template), without modifying the component (controller) code.

How to translate a string and then slice it in the template

I am working on an Angular application and need to display a translated string that is sliced to a specific length. My supervisor prefers that all logic that related to view better to be implemented directly in the view (template), without modifying the component (controller) code.