You've already forked blur-admin
refactor(basic structure): configure page states, generate sidebar from these states
This commit is contained in:
26
src/app/pages/ui/ui.module.js
Normal file
26
src/app/pages/ui/ui.module.js
Normal 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,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
})();
|
||||
Reference in New Issue
Block a user