JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="myApp">
{{ 'Je SuiS un TeXte uN peU biZaRRe' | lowercase | capitalize }}
</div>
JavaScript
angular.module('myApp', [])
.filter('capitalize', function(){
return function(input) {
if (input) {
return input[0].toUpperCase() + input.slice(1);
}
};
});