BodyGuideController.js
520 Bytes
AIA.controller("BodyGuideController", ["$scope", "$rootScope", "Modules", "$log",
function ($scope, $rootScope, Modules, log) {
$rootScope.currentActiveModuleTitle = Modules[14].Name;
$scope.myObj = {
"width": "100%",
"min-height": "1050px"
}
$scope.showme = false;
$scope.IsVisible = function () {
$scope.scroll();
}
$scope.scroll = function () {
// $window.scrollTo(0, 0);
$("html,body").scrollTop(0);
//alert("scroll");
}
}]
);