public/modules/core/core.home.controller.js
/**
     *  @name HomeController
     *  @desc Home Controller for gitReview site
     */
@name HomeController
@desc Home Controller for gitReview site
@name HomeController @desc Home Controller for gitReview site
function HomeController($scope, $window, $log, ReposManager) {
        var vm = this;
        vm.Repos = ReposManager.Repos;
        var coreHeaderPanel = document.querySelector("core-header-panel");
        coreHeaderPanel.addEventListener("scroll", function (event) {
            var scrollerY = event.detail.target.scrollTop;
            $log.debug('scrollY', scrollerY);
            if (!vm.scrollY || vm.scrollY < scrollerY) {
                vm.scrollY = scrollerY; 
                ReposManager.GetMoreResults();
            }
        });
    }
function HomeController ( $scope , $window , $log , ReposManager ) { var vm = this ; vm . Repos = ReposManager . Repos ; var coreHeaderPanel = document . querySelector ( "core-header-panel" ) ; coreHeaderPanel . addEventListener ( "scroll" , function ( event ) { var scrollerY = event . detail . target . scrollTop ; $log . debug ( 'scrollY' , scrollerY ) ; if ( ! vm . scrollY || vm . scrollY < scrollerY ) { vm . scrollY = scrollerY ; ReposManager . GetMoreResults ( ) ; } } ) ; }
@name HomeController
  @desc Home Controller for gitReview site
@name HomeController @desc Home Controller for gitReview site
// save.