/* global angular, random */
angular.module("app").config([
    '$stateProvider',
    function ($stateProvider) {
        $stateProvider.state('main.tarifas_pase_agregar', {
            url: '/tarifas_pase/agregar',
            templateUrl: 'templates/tarifas/tarifas-form.html' + random,
            controller: 'TarifasPaseAgregarCtrl',
            resolve: {
                loadMyCtrl: [
                    '$ocLazyLoad',
                    function ($ocLazyLoad) {
                        return $ocLazyLoad.load([
                            'js/controllers/tarifas-controllers.js' + random,
                            'js/services/tarifas-services.js' + random
                        ]);
                    }
                ]
            }
        });
    }
]);