Git Repository Public Repository

YouAndWeb_TwoToc

URLs

Copy to Clipboard
 
a2ecfb85282bb782ae96a40499c728d5c266f710
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
'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;
  });

Commits for YouAndWeb_TwoToc/client/components/navbar/navbar.controller.js

Diff revisions: vs.
Revision Author Commited Message
a2ecfb ... PTKDev Fri 20 Nov, 2015 11:22:35 +0000

TwoToc code