<commit_before>angular.module('genesis.home', ['ngAnimate', 'ui.bootstrap'])

.controller('HomeController', function($scope, $window, Auth, Auction) {

  //grab all auctions from database
  $scope.getAuctions = function () {
    Auction.getAuctions()
      .then(function (data) {
        $scope.allAuctions = data;
      });
  }

  //navigate to auction page using ID
  $scope.navToAuction = function (id) {
    $window.location.href= '#/auctions/' + id;
  };

  //initial load
  $scope.getAuctions();
});<commit_msg>(feat) Adds carousel params<commit_after>angular.module('genesis.home', ['ngAnimate', 'ui.bootstrap'])

.controller('HomeController', function($scope, $window, Auth, Auction) {

  //grab all auctions from database
  $scope.getAuctions = function () {
    Auction.getAuctions()
      .then(function (data) {
        $scope.allAuctions = data;
      });
  }

  //navigate to auction page using ID
  $scope.navToAuction = function (id) {
    $window.location.href= '#/auctions/' + id;
  };

  //initial load
  $scope.getAuctions();
  
  // carousel params
  $scope.myInterval = 2000;
  $scope.noWrapSlides = false;
  $scope.active = 0;

});
{'fraction_non_alphanumeric': 0.16277056277056276, 'fraction_numerical': 0.004329004329004329, 'mean_word_length': 3.3954372623574143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1278297', 'n_tokens_mistral': 400, 'n_tokens_neox': 378, 'n_words': 81}