text: 'use strict';
  
  angular.module('posApp')
      .config(function ($stateProvider) {
          $stateProvider
              .state('home', {
                  parent: 'site',
                  url: '/',
                  data: {
                      roles: ['ROLE_USER'],
                      pageTitle: 'main.title'
                  },
                  views: {
                      'content@': {
                          templateUrl: 'scripts/app/main/main.html',
                          controller: 'MainController'
                      }
                  },
                  resolve: {
                      mainTranslatePartialLoader: ['$translate', '$translatePartialLoader', function ($translate,$translatePartialLoader) {
                          $translatePartialLoader.addPart('common');
                          $translatePartialLoader.addPart('global');
                          $translatePartialLoader.addPart('order');
                          $translatePartialLoader.addPart('revenue');
                          $translatePartialLoader.addPart('main');
                          return $translate.refresh();
                      }]
                  }
              });
      });
  