<commit_before>/* <NAME> ========================================= */
console.log('LoginCtrl-on');
angular.module('UserApp')
  .controller('LoginCtrl', function(Login, $state){
    var loginCtrl = this;
    loginCtrl.user = {
      email: '',
      password: ''
    }
    loginCtrl.login = function(){
      Login.$signInWithEmailAndPassword(loginCtrl.user.email, loginCtrl.user.password)
      .then(function(login){
        $state.go('home');
      }, function(error){
        loginCtrl.error = error;
      });
    };
    loginCtrl.register = function(){
      Login.$createUserWithEmailAndPassword(loginCtrl.user.email, loginCtrl.usser.pasword)<commit_msg>fixed typos in email<commit_after>/* <NAME> ========================================= */
console.log('LoginCtrl-on');
angular.module('UserApp')
  .controller('LoginCtrl', function(Login, $state){
    var loginCtrl = this;
    loginCtrl.user = {
      email: '',
      password: ''
    }
    loginCtrl.login = function(){
      Login.$signInWithEmailAndPassword(loginCtrl.user.email, loginCtrl.user.password)
      .then(function(login){
        $state.go('home');
      }, function(error){
        loginCtrl.error = error;
      });
    };
    loginCtrl.register = function(){
      Login.$createUserWithEmailAndPassword(loginCtrl.user.email, loginCtrl.user.password)
{'fraction_non_alphanumeric': 0.2079879427279578, 'fraction_numerical': 0.0, 'mean_word_length': 3.5170068027210886, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4494052', 'n_tokens_mistral': 381, 'n_tokens_neox': 377, 'n_words': 54}