(function () {
  'use strict';

  angular.module('app').config(AppConfig);

  /* @ngInject */
  function AppConfig($stateProvider, $urlRouterProvider, $locationProvider) {
//    $locationProvider.html5Mode(true);
    
    $stateProvider.state('app', {
      url: '',
      abstract: true,
      template: '<ui-view/>'
    });

    $urlRouterProvider.otherwise('/login');
  }

})();