0
<!DOCTYPE html>
<html>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<body>
 <div ng-app="myApp" ng-controller="personCtrl">
 <p>The name is {{ lastName | uppercase }}</p>
 </div>
 <script>
angular.module('myApp', []).controller('personCtrl', function($scope) {
    $scope.firstName = "Working",
    $scope.lastName = "Code"
});
</script>
 </body>
</html>

Output:

The name is CODE

The uppercase filter format strings to upper case Example
Working Code Asked question September 21, 2023