in Angular by
angular title case

► Click here to show 1 Answer

0 votes
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' -->
Angular JS
Learn More with Madanswer

Related questions

0 votes
asked Sep 13, 2019 in Angular by ivor2019