app-footer.ctrl.js 635 Bytes
/// <reference path="../../../Scripts/underscore.js" />
/// <reference path="../../common/utils/enums.js" />
/// <reference path="../nav-bar-util.js" />

// AppNavBarController controller for the navigation bar of the application. This controller is responsible for 
// manage the different types of the tabs and corresponding menus.
frameworkModule.controller('AppFooterController', ['$scope', '$log',
function ($scope, $log) {
        'use strict';
        $log.debug('AppFooterController.ctor()...');
         
        $scope.scrollTop= function(){
            $('html,body').animate({scrollTop: '0px'}, 800);
        }
    }
]);