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.

Syntax

{{expression | uppercase}}

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


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.