In my angularjs test instance, I am using a global variable but the alert tag is not functioning as expected. This code snippet is from my first example on codeschool.
Any thoughts on why the alert is not running?
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script src="Scripts/angular.js"></script>
</head>
<body ng-controller="StoreController">
<script type="text/javascript">
function StoreController() {
alert("hello");
}
</script>
</body>
</html>