Angularjs Examples

AJS Examples


AngularJS Uppercase Function

Sometimes you may require to compare two string or variable value with constant string. It is always recomended that before comparing string, its case should be same. AngularJS provides built in angular.uppercase() function to convert text or string in upper case, which makes easy to compare two string.

It might be also possible that there are requirment to display text in lower case. In order to compair two string or display text in lower case AngularJS provides built in uppercase function which makes easy to compare two string.

Syntax

AngularJS Uppercase Function Example

See Live Example