{"size": 707, "ext": "js", "max_stars_repo_path": "frontend/js/app.js", "max_stars_repo_name": "patch-e/taplist-lititzcraftbeerfest", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "frontend/js/app.js", "max_issues_repo_name": "patch-e/taplist-lititzcraftbeerfest", "max_issues_repo_issues_event_min_datetime": "2021-09-19T16:11:40.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-19T16:11:40.000Z", "max_forks_repo_path": "frontend/js/app.js", "max_forks_repo_name": "patch-e/taplist-lititzcraftbeerfest", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 18.1282051282, "max_line_length": 43, "alphanum_fraction": 0.5813295615}
/*
BeersApp.js
- Bootstraps the AngularJS BeersApp.
- Configures routes.

Copyright (c) 2015

Patrick Crager

*/
(function() { 'use strict';

  angular.module('beersApp', [
    'ngRoute',
    'beersApp.shared',
    'beersApp.controllers'
  ]).config(configure);

  configure.$inject = ['$routeProvider'];

  function configure($routeProvider) {
    $routeProvider
      .when('/', {
        templateUrl: 'partials/table.html',
        controller: 'BeerController',
        controllerAs: 'vm'
      })
      .when('/table', {
        templateUrl: 'partials/table.html',
        controller: 'BeerController',
        controllerAs: 'vm'
      })
      .otherwise({
        redirectTo: '/'
      });
  }

})();
