{"size": 697, "ext": "js", "max_stars_repo_path": "app/app.router.js", "max_stars_repo_name": "Davd96/movies-manager", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/app.router.js", "max_issues_repo_name": "Davd96/movies-manager", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/app.router.js", "max_forks_repo_name": "Davd96/movies-manager", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 27.88, "max_line_length": 65, "alphanum_fraction": 0.5652797704}
angular.
  module('moviesManager').
  config(['$routeProvider',
    function config($routeProvider) {
      $routeProvider
        .when('/login', {
          templateUrl: 'login/login.template.html',
          controller: 'loginCtrl'
        })
        .when('/search/:searchInput', {
          templateUrl: 'film-list/film-list.template.html',
          controller: 'searchFilmListCtrl'
        })

        .when('/details', {
          templateUrl: 'film-details/film-details.template.html',
          controller: 'filmDetailsCtrl'
        })

        .otherwise({
          templateUrl: 'film-list/film-list.template.html',
          controller: 'favouriteFilmListCtrl'
        });
    }
  ]);