I have a simple test instance of angularjs. It's using a global but the alert tag is not running. This is the first example from codeschool.
Why does it not run?
<!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>