CurrBuildController.js
437 Bytes
AIA.controller("CurrBuildController", ["$scope", "$rootScope", "pages", "$log",
function ($scope, $rootScope, pages, log) {
$rootScope.currentActiveModuleTitle = pages[6].name;
$scope.showme = false;
$scope.IsVisible = function () {
$scope.scroll();
}
$scope.scroll = function () {
// $window.scrollTo(0, 0);
$("html,body").scrollTop(0);
//alert("scroll");
}
}]
);