15 lines
365 B
JavaScript
15 lines
365 B
JavaScript
|
'use strict';
|
||
|
|
||
|
angular.module('mystery.system').controller('HeaderController', ['$scope', 'Global', function ($scope, Global) {
|
||
|
$scope.global = Global;
|
||
|
|
||
|
$scope.menu = [{
|
||
|
'title': 'Articles',
|
||
|
'link': 'articles'
|
||
|
}, {
|
||
|
'title': 'Create New Article',
|
||
|
'link': 'articles/create'
|
||
|
}];
|
||
|
|
||
|
$scope.isCollapsed = false;
|
||
|
}]);
|