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