angular pipe to capitalize first letter
{{ value_expression | titlecase }}transform(value:string): string {
let first = value.substr(0,1).toUpperCase();
return first + value.substr(1);
}
Also in JavaScript:
- javascript how to trigger and event
- jQuery get selected option
- js map don't return
- event listener javascript
- afficher un div qui etait cache en javascript
- comment in vue js
- how to shuffle an array javascript
- if statement javascript one line ?
- linked list javascript
- how to convert seconds into days hours seconds js
- create react app in existing folder
- $set
- javascript for loop[
- slick js's alternatives
- tobe a number jest
- error: Error: Unable to resolve module `crypto` from `node_modules\crypto-js\core.js`: crypto could not be found within the project.
- how to check if 2 sprites are touching js
- check if palindrome
- prepend javascript
- clean collection mongoose
- angular import service
- html get selected option javascript
- js get copied text
- javascript get clock time in auto counter up