<commit_before>.factory("Auth", ["$firebaseAuth",
    function($firebaseAuth) {
        var ref = new Firebase("https://huggr.firebaseio.com/");
        return $firebaseAuth(ref);
    }
])<commit_msg>working on referral to splash when logged out<commit_after>.factory("Auth", ["$firebaseAuth", "$state",
    function($firebaseAuth, $state) {
        var ref = new Firebase("https://huggr.firebaseio.com/");
        console.log($firebaseAuth(ref).$getAuth());
        if($firebaseAuth(ref).$getAuth() == null)
        {
            console.log("hallo");
            $state.go("index");
        }
        return $firebaseAuth(ref);
    }
])
{'fraction_non_alphanumeric': 0.18025078369905956, 'fraction_numerical': 0.0, 'mean_word_length': 2.920245398773006, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '1982032', 'n_tokens_mistral': 201, 'n_tokens_neox': 196, 'n_words': 32}