try this
<html>
<head>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
</head>
<body ng-app="myApp" ng-controller="myController">
First Name :<input type="text" data-ng-model="FirstName" />
Last Name :<input type="text" data-ng-model="LastName" />
Full Name :{{FirstName+" "+LastName}}
<script>
var app = angular.module('myApp', []);
app.controller('myController', function ($scope) {
$scope.FirstName = "Gadhe";
$scope.LastName = "Srinu";
}
);
</script>
</body>
</html>
ng-app
and
ng-controller
attribute is missing.
$scope
should be lowercase
refer the
angular js
inside head tag.