<commit_before>var myapp = angular.module('studentModule', ["paymyServiceModule","ionic"]);
myapp.controller('studentController',['$scope','paymyService','$state','$ionicPopup', function($scope,paymyService,$state,$ionicPopup) {

    $scope.data = 
        {"firstname":"Senthilkumar","lastname":"Vaithiyanathan","email":"<EMAIL>","contactnumber":"8940059376","address_line1":"L&T Eden park","address_line2":"Siruseri","city":"Chennai","area":null,"state":"Tamilnadu","pincode":"603103","verified":"N","moneyrequired":25000,"singleparent":"Y","marks":90,"picture":"http://www.studentnoodles.co.uk/wp-content/uploads/2014/03/avatar.png"};    
        
    $scope.data = 
        {"firstname":"","lastname":"","email":"","contactnumber":"","address_line1":"","address_line2":"","city":"","area":null,"state":"","pincode":"","verified":"","moneyrequired":0,"singleparent":"","marks":90,"picture":""};        
    $scope.save = function(){
        paymyService.saveStudent($scope.data).then(function(response){
              $state.go("app.studentDashboard");
              
        },function(response){            
            $scope.showAlert("student registration failed");
        })
    }
    $scope.login = function(){        
        paymyService.login($scope.data).then(function(response){
              $state.go("app.studentRegister");
              
        },function(response){            
            $scope.showAlert("Username/password combination is wrong");
        })<commit_msg>no message<commit_after>var myapp = angular.module('studentModule', ["paymyServiceModule","ionic"]);
myapp.controller('studentController',['$scope','paymyService','$state','$ionicPopup', function($scope,paymyService,$state,$ionicPopup) {

    $scope.data = 
        {"firstname":"","lastname":"","email":"","contactnumber":"8940059376","address_line1":"L&T Eden park","address_line2":"Siruseri","city":"Chennai","area":null,"state":"Tamilnadu","pincode":"603103","verified":"N","moneyrequired":0,"singleparent":"Y","marks":90,"picture":"http://www.studentnoodles.co.uk/wp-content/uploads/2014/03/avatar.png"};    
        
    /*$scope.data = 
        {"firstname":"","lastname":"","email":"","contactnumber":"","address_line1":"","address_line2":"","city":"","area":null,"state":"","pincode":"","verified":"","moneyrequired":0,"singleparent":"","marks":90,"picture":""};        */
    $scope.save = function(){
        paymyService.saveStudent($scope.data).then(function(response){
              $state.go("app.studentDashboard");
              
        },function(response){            
            $scope.showAlert("student registration failed");
        })
    }
    $scope.login = function(){        
        paymyService.login($scope.data).then(function(response){
              $state.go("app.studentRegister");
              
        },function(response){            
            $scope.showAlert("Username/password combination is wrong");
        })
{'fraction_non_alphanumeric': 0.21747967479674796, 'fraction_numerical': 0.023035230352303523, 'mean_word_length': 4.056506849315069, 'pattern_counts': {'":': 60, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6715128', 'n_tokens_mistral': 880, 'n_tokens_neox': 824, 'n_words': 59}