/**
 * @ngdoc function
 * @name resumeApp.controller:MainCtrl
 * @description
 * # MainCtrl
 * Controller of the resumeApp
 */
/*jslint node: true */
/*global angular */
angular.module('resumeApp')
    .controller('MainCtrl', ['$document', '$scope', '$location', 'ngDialog', 'links', function ($document, $scope, $location, ngDialog, links) {
        'use strict';
        $document[0].title = '3D Galaxy Simulation with zoom, 200Bn stars, 180,000x120,000x40,000 light years';
        $scope.selectlink = links.links[links.indexFromView('Main')];
        $scope.links = links.links;
        $scope.go = function (link) {
            if (link.view !== 'Main') {
                links.go(link);
            }
        };

        $scope.hideModal = function () {
            ngDialog.close();
        };

        $scope.clickToOpen = function () {
            ngDialog.open({
                template: '<div class="ng-modal-overlay" ng-click="hideModal()">' +
                    '<div class="ng-modal-dialog" ng-style="dialogStyle">' +
                    '<h1>Modal Dialog Here</h1>' +
                    '<div class="ng-modal-dialog-content" ng-transclude></div>' +
                    '</div>' +
                    '</div>',
                plain: true,
                controller: 'MainCtrl',
                className: 'ngdialog-theme-default'
            });
        };
        //template: 'scripts/templates/modaldialog.html',
    }]);

@@ -362,120 +362,8 @@
 t';%0A
-        $document%5B0%5D.title = '3D Galaxy Simulation with zoom, 200Bn stars, 180,000x120,000x40,000 light years';%0A
     

Remove wrong title.