CAController.js
418 Bytes
AIA.controller("CAController", ["$scope", "$rootScope", "Modules", "$log",
function ($scope, $rootScope, Modules, log) {
$rootScope.currentActiveModuleTitle = Modules[4].Name;
$scope.showme = true;
$scope.IsVisible = function () {
$scope.scroll();
}
$scope.scroll = function () {
// $window.scrollTo(0, 0);
$("html,body").scrollTop(0);
}
}]
);