<commit_before>'use strict';

angular.module('awareness', [])

.factory('Awareness', function($q, $http) {

  var module = {

  };

  return module;
});<commit_msg>refactor(Awareness): convert into firebase service<commit_after>'use strict';

angular.module('awareness', [])

.factory('Awareness', function(Firebase, $firebase) {
  var ref = new Firebase('https://ChallengeWithFriends.firebaseio.com/awareness');
  // create an AngularFire reference to the data
  return $firebase(ref);
});
{'fraction_non_alphanumeric': 0.1653061224489796, 'fraction_numerical': 0.0, 'mean_word_length': 5.726027397260274, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '2255082', 'n_tokens_mistral': 161, 'n_tokens_neox': 152, 'n_words': 33}