mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-09 21:50:30 +01:00
19 lines
492 B
JavaScript
19 lines
492 B
JavaScript
'use strict';
|
|
|
|
angular.module('mean.core').controller('HeaderController', ['$scope', 'Authentication',
|
|
function($scope, Authentication) {
|
|
$scope.authentication = Authentication;
|
|
|
|
$scope.menu = [{
|
|
title: 'Articles',
|
|
link: 'articles',
|
|
uiRoute: '/articles'
|
|
}, {
|
|
title: 'New Article',
|
|
link: 'articles/create',
|
|
uiRoute: '/articles/create'
|
|
}];
|
|
|
|
$scope.isCollapsed = false;
|
|
}
|
|
]); |