var main = angular.module('beer-tab.main', ['beer-tab.services', 'angular-jwt', 'ngTable']);


main.controller('MainCtrl', function ($scope, $window, beerPmt, jwtHelper, AuthService) {

  // Retrieve token from localStorage
  $scope.jwt = $window.localStorage.getItem('com.beer-tab');
  // Decode token (this uses angular-jwt. notice jwtHelper)
  $scope.decodedJwt = $scope.jwt && jwtHelper.decodeToken($scope.jwt);
  // Object used to contain user's beer network
  $scope.network = $scope.decodedJwt.network;
  // Pull username from token to display on main page
  $scope.user = $scope.decodedJwt.username;

  $scope.sendBeer = function (user) {
    console.log('sendBeer called', user);
    if(AuthService.isAuth()) {
      var user = beerPmt.newIOU(user);
      $scope.network = user.network;

      console.log(user.network);
    }
  };


});

@@ -783,50 +783,8 @@
 user
-.network;%0A%0A      console.log(user.network)
 ;%0A  

Edit variable access