mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-01-16 20:32:21 +01:00
27 lines
547 B
JavaScript
27 lines
547 B
JavaScript
(function () {
|
|
'use strict';
|
|
|
|
angular
|
|
.module('articles')
|
|
.run(menuConfig);
|
|
|
|
menuConfig.$inject = ['menuService'];
|
|
|
|
function menuConfig(menuService) {
|
|
//menuService.addMenuItem('topbar', {
|
|
// title: 'Articles',
|
|
// state: 'articles',
|
|
// type: 'dropdown',
|
|
// roles: ['*'],
|
|
// position: 20
|
|
//});
|
|
//
|
|
//// Add the dropdown list item
|
|
//menuService.addSubMenuItem('topbar', 'articles', {
|
|
// title: 'List Articles',
|
|
// state: 'articles.list',
|
|
// roles: ['*']
|
|
//});
|
|
}
|
|
}());
|