Execute
<!DOCTYPE html> <html> <head> <title>Wikitechy AngularJS Tutorials</title> </head> <script src="https://ajax.googleapis.com/ajax/libs/ angularjs/1.5.6/angular.min.js"> </script> <body> <div ng-app="myApp" ng-controller="lcaseCtrl"> <h1> Wikitechy lowercase filter in AngularJS </h1> <h3> The lowercase filter text is :" {{msg | lowercase }} "</h3> </div> <script> var app = angular.module('myApp', []); app.controller('lcaseCtrl', function($scope) { $scope.msg = "WELCOME TO ANGULARJS TUTORIALS"; }); </script> </body> </html>
www.wikitechy.com © Copyright 2016. All Rights Reserved.