Angular MVC
The Static View with controller
mvc demo
Hello World
Controller Function Definition
var indexController = myApp.controller("indexController", function ($scope) {
// Application logic goes here
});
Adding information to the model
var indexController = myApp.controller("indexController", function ($scope) {
// controller logic goes here
$scope.message = "Hello Hacking World"
});