mirror of https://github.com/akveo/blur-admin
53 lines
1.2 KiB
JavaScript
53 lines
1.2 KiB
JavaScript
/**
|
|
* @author v.lugovsky
|
|
* created on 16.12.2015
|
|
*/
|
|
(function () {
|
|
'use strict';
|
|
|
|
angular.module('BlurAdmin.pages.form', [])
|
|
.config(routeConfig);
|
|
|
|
/** @ngInject */
|
|
function routeConfig($stateProvider) {
|
|
$stateProvider
|
|
.state('form', {
|
|
url: '/form',
|
|
template : '<ui-view></ui-view>',
|
|
abstract: true,
|
|
title: 'Form Elements',
|
|
sidebarMeta: {
|
|
icon: 'ion-compose',
|
|
order: 300,
|
|
},
|
|
})
|
|
.state('form.inputs', {
|
|
url: '/inputs',
|
|
templateUrl: 'app/pages/form/inputs/inputs.html',
|
|
title: 'Form Inputs',
|
|
sidebarMeta: {
|
|
order: 0,
|
|
},
|
|
})
|
|
.state('form.layouts', {
|
|
url: '/layouts',
|
|
templateUrl: 'app/pages/form/layouts/layouts.html',
|
|
title: 'Form Layouts',
|
|
sidebarMeta: {
|
|
order: 100,
|
|
},
|
|
})
|
|
.state('form.wizard',
|
|
{
|
|
url: '/wizard',
|
|
templateUrl: 'app/pages/form/wizard/wizard.html',
|
|
controller: 'WizardCtrl',
|
|
controllerAs: 'vm',
|
|
title: 'Form Wizard',
|
|
sidebarMeta: {
|
|
order: 200,
|
|
},
|
|
});
|
|
}
|
|
})();
|