Having trouble creating a Hello World page in angular.js. When I try to display {{helloMessage}}, it shows up instead of Hello World. I'm not sure where the issue lies.
Within the folder are two files: angular.min.js and HelloWorld.html. In HelloWorld.html, I've written the following code:
<!doctype html>
<html lang = "en" ng-app>
<head>
<meta charset = "utf-8">
<title> Hello World </title>
</head>
<body>
<h1 ng-controller = "HelloWorldCtrl">{{helloMessage}}</h1>
<script src = "angular.min.js"></script>
<script type = "text/javascript">
function HelloWorldCtrl($scope){
$scope.helloMessage = "Hello World";
}
</script>
</body>
</html>