Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
THE WORLD'S LARGEST WEB DEVELOPER SITE

AngularJS lowercase Filter


Example

Display the text in lowercase letters:

<div ng-app="myApp" ng-controller="caseCtrl">

<h1>{{txt | lowercase}}</h1>

</div>

<script>
var app = angular.module('myApp', []);
app.controller('caseCtrl', function($scope) {
    $scope.txt = "Hello World!";
});
</script>
Try it Yourself »

Definition and Usage

The lowercase filter converts a string to lowercase letters.


Syntax

{{ string | lowercase }}

Related Pages

AngularJS Tutorial: Angular Filters