Sep 18, 2019 in Angular
Q: angular title case

1 Answer

0 votes
Sep 19, 2019
Angular 4 introduced a new 'titlecase' pipe '|' and use to changes the first letter of each word into the uppercase.

The example as,

<h2>{{ 'ramesh rajendran` | titlecase }}</h2>

<!-- OUTPUT - It will display 'Ramesh Rajendran' -->

Related questions

0 votes
Sep 13, 2019 in Angular
0 votes
Sep 13, 2019 in Angular
...