I am new in angularjs. i have created a helloworld program. for angular reference i used CDN. but the problem is the program is working on version 1.0.8 version but not working in 1.3.14 version. I can not say what is the problem. My code is given bellow:
<!DOCTYPE html>
<html ng-app>
<head>
<meta charset="utf-8"/>
</head>
<body>
<header>
<h1 ng-controller="HelloWorldCtrl">{{helloMessage}}</h1>
</header>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js"></script>
<!--<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js"></script>-->
<script type="text/javascript">
function HelloWorldCtrl($scope) {
$scope.helloMessage = "Hello World from Nasir Uddin";
}
</script>
</body>
</html>
Same thing happens if I download the angular 1.0.8 version and put it in my project folder then it's working but if i download the 1.3.14 and put it my project folder then it's not working. Please help me to find the solution.