var app = angular.module('myApp', []);
app.controller('MainController', function($scope) {
$scope.title = "Hello, AngularJS!";
$scope.description = "This is a simple AngularJS application.";
});
angular.module('myApp', [])
: Creates a new AngularJS module named myApp
.$scope
: The binding part between HTML (view) and JavaScript (controller). It is the object that holds model data.