angular change text first letter to capital code example
Example: angular pipe to capitalize first letter
transform(value:string): string {
let first = value.substr(0,1).toUpperCase();
return first + value.substr(1);
}
transform(value:string): string {
let first = value.substr(0,1).toUpperCase();
return first + value.substr(1);
}