Horje

AngularJS - Angular MVC
Start
  The Static View with controller

mvc demo

  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"
});


Read Article
https://develop.horje.com/learn/1434/reference