M
M
Max2015-05-20 14:15:15
Angular
Max, 2015-05-20 14:15:15

How to use limitTo?

Hello, please tell me how to use limitTo in Angular. I display this code
<p>Описание: {{product.description}}</p>
. It is necessary that there be a limit of 25 characters, that is, it displays only 25 letters.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2015-05-20
@maxprof

https://docs.angularjs.org/api/ng/filter/limitTo

<p>Описание: {{product.description | limitTo:25}}</p>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question