<commit_before>angular.module('pvta.controllers').controller('StopsController', function ($scope, $resource, Stops, NearestStops, $ionicFilterBar, $cordovaGeolocation, StopsForage) {
  $cordovaGeolocation.getCurrentPosition({timeout: 3000}).then(function (position) {
    StopsForage.get(position.coords.latitude, position.coords.longitude).then(function (stops) {
      $scope.stops = stops;
      $scope.$apply();
      StopsForage.save(stops);
    });
  }, function () {
    StopsForage.get().then(function (stops) {
      $scope.stops = stops;
      StopsForage.save(stops);
    });
  });
  $scope.showFilterBar = function () {
    $ionicFilterBar.show({
      items: $scope.stops,
      update: function (filteredItems, filterText) {
        $scope.stops = filteredItems;
      }
    });
  };
});
<commit_msg>One more change to Stops<commit_after>angular.module('pvta.controllers').controller('StopsController', function ($scope, $resource, Stops, NearestStops, $ionicFilterBar, $cordovaGeolocation, StopsForage) {
  $cordovaGeolocation.getCurrentPosition({timeout: 3000}).then(function (position) {
    StopsForage.get(position.coords.latitude, position.coords.longitude).then(function (stops) {
      $scope.stops = stops;
      $scope.$apply();
      StopsForage.save(stops);
    });
  }, function () {
    StopsForage.get().then(function (stops) {
      $scope.stops = stops;
      StopsForage.save(stops);
    });
  });
  $scope.showFilterBar = function () {
    $ionicFilterBar.show({
      items: $scope.stops,
      update: function (filteredItems) {
        $scope.stops = filteredItems;
      }
    });
  };
});

{'fraction_non_alphanumeric': 0.15673017824216348, 'fraction_numerical': 0.004917025199754148, 'mean_word_length': 3.760233918128655, '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': '4137992', 'n_tokens_mistral': 543, 'n_tokens_neox': 530, 'n_words': 75}