<!DOCTYPE html>
<html>
<head>
  <script data-require="angular.js@1.4.8" data-semver="1.4.8" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.8/angular.min.js"></script>
  <script src="module.js"></script>
  <script src="message-controller-as.js"></script>
</head>
<body ng-app="app">
<p ng-controller="MessageController as controller">
    {{controller.message}}
</p>
</body>
</html>
http://blog.allii.ir/2016/01/angularjs-beginner-intermediate-course-controllers/#contoller_as_propertyname
angular.module('app', []);
angular.module('app').config(['$controllerProvider', function ($controllerProvider)
{
	$controllerProvider.allowGlobals();
}]);
function MessageController()
{
	this.message = "This is a model.";
}