(function()
{
  angular
    .module('foosey')
    .config(config);

  function config($urlRouterProvider, SettingsServiceProvider) 
  { 
    // If they're logged in, default to leaderboard
    if (SettingsServiceProvider.$get().loggedIn)
    {
      $urlRouterProvider.otherwise('/app/scorecard');
    } 
    // Otherwise, send them to the login page
    else 
    {
      $urlRouterProvider.otherwise('/login');   
    }
  }
})();
(function()
{
  angular
    .module('foosey')
    .config(config);

  function config($urlRouterProvider, SettingsServiceProvider) 
  { 
    // If they're logged in, default to leaderboard
    if (SettingsServiceProvider.$get().loggedIn)
    {
      $urlRouterProvider.otherwise('/app/leaderboard');
    } 
    // Otherwise, send them to the login page
    else 
    {
      $urlRouterProvider.otherwise('/login');   
    }
  }
})();

Update foosey.routes.js