Answers for "without pipe how can i bind first letter in interpolation in angular"

2

angular pipe first letter uppercase

{{ value_expression | titlecase }}
Posted by: Guest on June-25-2020
1

angular pipe to capitalize first letter

transform(value:string): string {
  let first = value.substr(0,1).toUpperCase();
  return first + value.substr(1); 
}
Posted by: Guest on July-10-2020

Code answers related to "without pipe how can i bind first letter in interpolation in angular"

Code answers related to "Javascript"

Browse Popular Code Answers by Language