<!DOCTYPE html>charset="utf-8"src="//apps.bdimg.com/libs/angular.js/1.4.6/angular.min.js"ng-app="myApp" ng-controller="myCtrl"{{ x1 }}{{ x2 }}var app = angular.module('myApp', []);app.controller('myCtrl', function($scope) {$scope.x1 = "JOHN";$scope.x2 = angular.lowercase($scope.x1);});