--- /dev/null
+'use strict';
+
+angular.module('dashboardApp')
+ .controller('NavbarCtrl', function ($scope, Auth) {
+ $scope.menu = [
+ {
+ 'title': 'Home',
+ 'state': 'main'
+ },
+ {
+ 'title': 'Partecipa',
+ 'state': 'partecipa'
+ },
+ {
+ 'title': 'Organizza',
+ 'state': 'organizza'
+ },
+ {
+ 'title': 'Community',
+ 'state': 'community'
+ },
+ {
+ 'title': 'Come funziona',
+ 'state': 'come-funziona'
+ }
+ ];
+
+ $scope.isCollapsed = true;
+ $scope.isLoggedIn = Auth.isLoggedIn;
+ $scope.isAdmin = Auth.isAdmin;
+ $scope.getCurrentUser = Auth.getCurrentUser;
+ });