Just starting to dive into AngularJS and following a tutorial on YouTube. I've copied the exact code from the instructor, but for some reason it's not working for me. Apologies for the newbie question, but I'm genuinely surprised that the code isn't functioning as expected. Thank you in advance for any help!
<body data-ng-app="">
<div data-ng-controller="SimpleController">
<ul>
<li data-ng-repeat="cust in Customers">
{{cust.Name}}
</li>
</ul>
</div>
<script src="../Scripts/angular.js"></script>
<script>
function SimpleController($scope) {
$scope.Customers = [
{ Name: "Chanchal", City: "Dhaka" },
{ Name: "Masud", City: "Jessore" },
{ Name: "Humayun", City: "Barisal" }
];
}
</script>