refactor(basic structure): configure page states, generate sidebar from these states

This commit is contained in:
KostyaDanovsky
2016-01-12 18:30:32 +03:00
parent 180c37b809
commit bf74c51a6f
27 changed files with 290 additions and 271 deletions

View File

@@ -0,0 +1,26 @@
/**
* @author k.danovsky
* created on 12.01.2016
*/
(function () {
'use strict';
angular.module('BlurAdmin.pages.ui', [])
.config(routeConfig);
/** @ngInject */
function routeConfig($stateProvider) {
$stateProvider
.state('ui', {
url: '/ui',
template : '<ui-view></ui-view>',
abstract: true,
title: 'UI Elements',
sidebarMeta: {
icon: 'ion-android-laptop',
order: 400,
},
});
}
})();