{"size": 398, "ext": "js", "max_stars_repo_path": "js/controller/login.js", "max_stars_repo_name": "Satyadeepsb/login-demo-angularjs", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/controller/login.js", "max_issues_repo_name": "Satyadeepsb/login-demo-angularjs", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/controller/login.js", "max_forks_repo_name": "Satyadeepsb/login-demo-angularjs", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 30.6153846154, "max_line_length": 88, "alphanum_fraction": 0.567839196}
app.controller('LoginController',function($scope,$rootScope,$state,$http,$stateParams) {
    console.log("IN CTRL");
    var ctrl = this;
    ctrl.login = function () {
        console.log("In login");
        console.log(ctrl.object);
        // Http Request
      /*  $http.post('/rest/api/login', ctrl.object).then(function (response) {

        });*/
            $state.go('welcome');
    }
});