/* global app:true */
(function (app) { 'use strict';

    var controller = 'HeaderController';

    if (typeof app === 'undefined') throw (controller + ': app is undefined');

    app.controller(controller, ['$scope', 'viewFactory', function ($scope, viewFactory) {
        $scope.viewFactory = viewFactory;
        $scope.title = 'Dashboard';
    }]);

})(app);
@@ -51,16 +51,17 @@
 t';%0A
-%0A
     
-var
+const
  con
@@ -90,17 +90,16 @@
 oller';%0A
-%0A
     if (
@@ -347,17 +347,16 @@
    %7D%5D);%0A
-%0A
 %7D)(app);

use const to declare controller name