Logo white

ADAM / AIAHTML5

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues
  • Merge Requests 14
  • Labels
  • Wiki
  • Snippets
  • AIAHTML5
  • 400-SOURCECODE
  • AIAHTML5.Web
  • app
  • controllers
  • CAController.js
  • srolltop and external link views
    a3ac1a42
    Mitali Srivastava authored
    2016-05-11 13:52:31 +0530  
    Browse Code »
CAController.js 418 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
AIA.controller("CAController", ["$scope", "$rootScope", "Modules", "$log",
function ($scope, $rootScope, Modules, log) {
   
    $rootScope.currentActiveModuleTitle = Modules[4].Name;
    $scope.showme = true;
    $scope.IsVisible = function () {
        $scope.scroll();
       
    }
    $scope.scroll = function () {
        // $window.scrollTo(0, 0);
        $("html,body").scrollTop(0);
       
    }

}]



);