AngularJS angular.uppercase() Function (original) (raw)
Last Updated : 12 Sep, 2022
The angular.uppercase() Function in AngularJS is used to convert the string into uppercase. It can be used when the user wants to show the text in uppercase instead of lowercase.
Syntax:
angular.uppercase(string)
Example: This example illustrates the angular.uppercase() Function by specifying the string is converted into uppercase.
HTML `
angular.uppercase()GeeksforGeeks
angular.uppercase()
Before: {{ string1 }}
Click it!
After: {{ string2 }}
`
Output:
Example: This is another example illustrating the angular.uppercase() Function in Angular JS.
HTML `
angular.uppercase()GeeksforGeeks
angular.uppercase()
{{ string1 }} Click Me
{{ string2 }}
`
Output: