<commit_before>'use strict';
angular.module('properties').controller('ViewPropertyCtrl', ['$scope', '$location', '$stateParams', function($scope, $location, $stateParams) {
  console.log($stateParams);
}]);<commit_msg>retrieved property from backend<commit_after>'use strict';
angular.module('properties').controller('ViewPropertyCtrl', ['$scope', '$location', '$stateParams', 'backendService', function($scope, $location, $stateParams, backendService) {
  console.log($stateParams);
  backendService.getSingleProperty($stateParams.propertyId).success(function (property) {
    console.log(property);
    $scope.property = property;
  });
}]);
{'fraction_non_alphanumeric': 0.18195956454121306, 'fraction_numerical': 0.0, 'mean_word_length': 9.222222222222221, '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': '3957942', 'n_tokens_mistral': 173, 'n_tokens_neox': 171, 'n_words': 30}