<commit_before>angular.module('flapperNews')
.controller('NavCtrl', [
'$scope',
'Auth',
function($scope, Auth){
  $scope.signedIn = Auth.isAuthenticated;
  $scope.logout = Auth.logout;
}]);
<commit_msg>add Auth.currentUser() to set .user<commit_after>angular.module('flapperNews')
.controller('NavCtrl', [
'$scope',
'Auth',
function($scope, Auth){
  $scope.signedIn = Auth.isAuthenticated;
  $scope.logout = Auth.logout;

  // not sure below is correct
  Auth.currentUser().then(function (user){
  	$scope.user = user;
  });
}]);

{'fraction_non_alphanumeric': 0.19056603773584907, 'fraction_numerical': 0.0, 'mean_word_length': 5.475609756097561, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7470518', 'n_tokens_mistral': 189, 'n_tokens_neox': 185, 'n_words': 33}