When i am using angular version this. "https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0-rc.2/angular.js" my code works fine. but when i am using this angular version my code is not working. "https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js".
Full HTML code.
<!DOCTYPE html>
<html ng-app="">
<script src= "https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js"></script>
<head>
<title>Angular Js Tutorial</title>
</head>
<body>
<div ng-controller="Maincontroller">
{{message}}
</div>
<script>
function Maincontroller($scope)
{
$scope.message = "Hii how are you";
}
</script>
</body>
</html>
I didn't the required output. It simply prints.
{{message}}