WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

AngularJS lowercase Filter


Example

Display the content in lowercase letters:

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

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

</div>

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

Try it yourself »


Definition and Usage

The lowercase channel changes over a string to lowercase letters.


Syntax

{{ string | lowercase }}

Related Pages

AngularJS Tutorial: Angular Filters