Lowercase Filter to convert the string into lowercase.

In this blog, we are going to learn about the lowercase filter Lowercase Filter to convert the string into lowercase. of angular.

lexpoundsofttechsolution w.

If the Lowercase filter is used then the string that is taken as an input in any format is formatted and gets displayed to the user in a lowercase format as an output.

The lowercase filter is used to convert any string into the Lowercase format in the angular.


{{expression | uppercase}}

<!DOCTYPE html>
   <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
      <div ng-app="App" ng-controller="myController">
         <p>orignal text: {{ a }}</p>
         <p>{{ b }}</p>
         var t = angular.module('App', []);
         t.controller('myController', function($scope) {
              $scope.a = "ANGULAR";
              $scope.b = angular.lowercase($scope.a);

The output of the example :

Result: Angular

So, thanks for following this blog, and if you need any help please leave your queries in the comment box we will be happy to help you.