I cannot figure out why my controller and module are not binding like the tutorial I am following along with. I'm using the Brackets program which offers a live preview of my code and instead of showing the $scope.message it is only showing the word {{message}}. I'm just beginning to learn angularjs. In the head of the document I used script tags and src = "https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js" Here is the body...
You have successfully reached my HTML document!
<div ng-app="myModule" ng-controller="myController">
<!h5 tag contains a binded expression>
<h5> {{message}} </h5>
<ul>
<li ng-repeat="x in cars"> {{x}} </li>
</ul>
</div>
<!Create a module named 'myModule'Create controller named 'myController'>
<script>
var myApp =angular.module("myModule",[]);
myApp.controller("myController", function ($scope){
$scope.cars = ["BMW", "Toyota", "Ford", "Range Rover"];
$scope.message = "My students are the best in the world!";
})
</script>
</body>