Limit the length of a string with AngularJS
I have the following: <div>{{modal.title}}</div> Is there a way that I could limit the length of the string to say 20 characters? And an even better question would be is there a way that I could change the string to be truncated and show … at the end if it’s more than 20 characters? 26 … Read more