text: 'use strict';
  
  angular.module('snippetsApp').controller('FooterCtrl', function ($scope, $location, Auth) {
    $scope.menu = [{
      'title': 'Home',
      'link': '/'
    }];
  
    $scope.isCollapsed = true;
    $scope.isLoggedIn = Auth.isLoggedIn;
    $scope.isAdmin = Auth.isAdmin;
    $scope.getCurrentUser = Auth.getCurrentUser;
  
    $scope.logout = function () {
      Auth.logout();
      $location.path('/login');
    };
  
    $scope.isActive = function (route) {
      return route === $location.path();
    };
  });
  //# sourceMappingURL=footer.controller.js.map
  