Here we have declared a controller lcaseCtrl module using apps.controller() function. The value of the controller modules is stored in scope object. In AngularJS, $scope is passed as first argument to apps.controller during its constructor definition.
Here we have set the value of $scope. msg = “WELCOME TO ANGULARJS TUTORIALS” which are to be used to change a string to lowercase in HTML element.
Sample Output for lowercase filter in AngularJS:
The output shows that a lowercase filter is used to change a string “WELCOME TO ANGULARJS TUTORIALS” to lowercase letter “welcome to angularjs tutorials”.
angular lowercase inputangular.lowercase vs tolowercaseangular filter first letter uppercaseangular 2 lowercaseangular sentence case filterangular filter exampleangular lowercase inputangular custom filterangular multiple filtersangular built in filtersangularjs uppercase exampleangularjs filter first letterconvert string to uppercase in angularjsangularjs tutorials
World's No 1 Animated self learning Website with Informative tutorials explaining the code and the choices behind it all.