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