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