Tutorials References Exercises Bootcamps Videos Menu
Sign Up Create Website Get Certified Upgrade

AngularJS lowercase Filter


Display the text in lowercase letters:

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

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


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

Definition and Usage

The lowercase filter converts a string to lowercase letters.


{{ string | lowercase }}

Related Pages

AngularJS Tutorial: Angular Filters