JSFiddle - React, Tailwind, and code Playground

HTML

<div ng-app="filterModule">
    <div ng-controller="filterController">
     {{Myname}}
    </div>
</div>

JavaScript

app = angular.module("filterModule", []);

app.controller("filterController",['$scope','$filter', function($scope, $filter){
name = "My name is sathiyaraj"
$scope.Myname = $filter('uppercase')(name);
}]);