examples/angular/hello_world_controller_dependency_injection.html
<script src="angular.min.js"></script>
<script src="hello_world_controller_dependency_injection.js"></script>
<div ng-app="HelloWorldApp">
    <div ng-controller="HelloWorldController">
        <h1>{{greeting}}</h1>
    </div>
</div>
examples/angular/hello_world_controller_dependency_injection.js
angular.module('HelloWorldApp', [])
   .controller('HelloWorldController', function($scope) {
       $scope.greeting = "Hello World";
});