'use strict';

// Declare app level module which depends on views, and components
angular.module('myApp', [
    'ngRoute',
    'myApp.home',
    'myApp.basaball',
    'myApp.fallball',
    'myApp.fastpitch',
    'myApp.player',
    'myApp.team',
    'myApp.tournaments',
    'myApp.maintenance',
    'myApp.partners',
    'myApp.fields'
]).config(['$locationProvider', '$routeProvider', function ($locationProvider, $routeProvider) {
    $locationProvider.hashPrefix('!');

    $routeProvider.otherwise({redirectTo: '/home'});
}])
