I have a simple code setup, but for some reason my Angularjs code isn't running as expected.
Here is the snippet of my html code:
<html>
<head>
<title></title>
</head>
<body ng-app="myAppApp">
<div ng-controller="exempleCtrl">
HELLO {{name}}!
</div>
</body>
</html>
This is the content of my app.js file:
var app = angular.module('myAppApp',[]);
app.controller('exempleCtrl', function($scope) {
$scope.name = 'World';
});
Even though I am new to Angularjs, I feel like there might be something important that I'm overlooking.