HomeController.js 589 Bytes
'use strict';

AIA.controller("HomeController", ["$rootScope","Modules", "$log", "$location", "$timeout", 
    function ($rootScope,Modules, $log, $location, $timeout) {

        //$scope.pageToOpen = {
        //    name: 'MainMenu'
        //};
        $rootScope.pageToOpen = 'MainMenu.html';
        $rootScope.currentBodyViewId = 1;
        $rootScope.currentActiveModuleTitle = 'Welcome to A.D.A.M. Interactive Anatomy';//Modules[0].Name;
        $rootScope.currentActiveViewTitle;
        $rootScope.openModules = [];
        $rootScope.openViewsDA = [];
    }]
);