Here is the simple one line fix without css.
{{ myString | limitTo: 20 }}{{myString.length > 20 ? '...' : ''}}
More Related Contents:
- ng-repeat :filter by single field
- filters on ng-model in an input
- Descending order by date filter in AngularJs
- exact filter in angular
- Using AngularJS date filter with UTC date
- Use filter on ng-options to change the value displayed
- How to filter multiple values (OR operation) in angularJS with checkbox
- Is it feasible for a start-up of two developers to do full automated regression testing without manual testing? [closed]
- Why are AngularJS $http success/error methods deprecated? Removed from v1.6?
- Why don’t the AngularJS docs use a dot in the model directive?
- AngularJS For Loop with Numbers & Ranges
- Inject service in app.config
- AngularJS – Create a directive that uses ng-model
- Remove Blank option from Select Option with AngularJS
- AngularJS ng-class if-else expression
- Handle HTTP 302 response from proxy in angularjs
- How can I pass some data from one controller to another peer controller [duplicate]
- Understanding what it takes to remove the hash # from angular routes
- How to refresh / invalidate $resource cache in AngularJS
- Angular – ui-router get previous state
- Running AngularJS initialization code when view is loaded
- AngularJs Remove duplicate elements in ng-repeat
- How would I have ui-router go to an external link, such as google.com?
- AngularJS All slashes in URL changed to %2F
- How to extend or override existing filters in angularjs?
- Lazy loading AngularJS modules with RequireJS
- ng-options with simple array init
- Using ng-if as a switch inside ng-repeat?
- stop angular-ui-router navigation until promise is resolved
- how to pass querystring in angular routes?