(function () {

    angular.module("{{spa.key}}", [])
{{#isDialogApp}}
        .run(function ($rootScope) {
            $rootScope.app = {
                helpLink: 'http://example.com',
                title: '{{spa.name}} SPARK App',
                footer: {
                    text: 'Powered by SPARK and Angular ' + angular.version.full + '.'
                }
            };
        })
{{/isDialogApp}}
        .controller("HelloController", function ($scope) {
            $scope.user = {
                'name': 'World'
            };
        });

})();

(function () {

    angular.module("{{spa.key}}", [])
{{#isDialogApp}}
        .run(function ($rootScope) {
            $rootScope.app = {
                helpLink: 'http://example.com',
                title: '{{spa.name}} SPARK App',
                footer: {
                    text: 'Powered by SPARK and Angular ' + angular.version.full + '.'
                }
            };
        })
{{/isDialogApp}}
        .controller("HelloController", function ($scope) {
            $scope.user = {
                'name': 'World'
            };
{{#isAdminOrSpaceApp}}
            $scope.angularVersion = angular.version.full;
{{/isAdminOrSpaceApp}}
        });

})();

Fix missing angular version in footer
Fix missing angular version in footer
