Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<html>
<script 
 src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js">
</script>
<body>
<div ng-app="testApp" ng-controller="appCtrl">
{{ firstName + " " + lastName }}
</div>
<script>
var app = angular.module("testApp", []);
app.controller("appCtrl", function($scope) {
    $scope.firstName = "Vishal";
    $scope.lastName = "Gupta";
});
</script>
</body>
</html>
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers