Here we have declared a controller ucaseCtrl 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 uppercase in HTML element.
Sample Output for uppercase filter in AngularJS:
The output shows that an uppercase filter is used to change a string “Welcome To AngularJS Tutorials” to uppercase letter “WELCOME TO ANGULARJS TUTORIALS”.
angular uppercase input$filter('uppercase')()angular custom filterconvert string to uppercase in angularjsangularjs filtersangular built in filtersangular multiple filtersangularjs title caseangular filter exampleangularjs filter ng-repeatangular filter dateangular filter in controllerangularjs custom filterangularjs tutorials
World's No 1 Animated self learning Website with Informative tutorials explaining the code and the choices behind it all.