I'm building an app with angularJS, i have a $scope
variable called description
and it is basically just a long description of something in my database.
Is there a simple way to limit the number of characters that is outputted when i do {{description}}
?
Or can it only be done through a separate $scope variable?
I would ideally want to limit the number of characters outputted by this $scope variable to 100.