<!DOCTYPE html>
<html ng-app="buildingApp">

  <head>
    <link rel="stylesheet" href="style.css">
    <script data-require="angular.js@1.2.26" data-semver="1.2.26" src="https://code.angularjs.org/1.2.26/angular.min.js"></script>
    <script src="script.js"></script>
    <script src="another.js"></script>
  </head>

  <body ng-controller="dashboardController">
    <h1>{{hello}}</h1>
  </body>

</html>
var app = angular.module("buildingApp", []); //buildingApp file
/* Styles go here */

(function () {
      var controllerId = "dashboardController";  //dashboardController.js

     angular.module('buildingApp')
             .controller(controllerId, ['$scope', '$http', '$window', 
      '$timeout',  dashboardController]);

     function dashboardController($scope, $http, $window) {
             $scope.hello = "Welcome to angularjs";
          }

         })();