Skip to content

Commit 6f94231

Browse files
author
Live session user
committed
done
1 parent 70ace55 commit 6f94231

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ app.config(function($routeProvider){
2424
});
2525

2626
app.controller('loginCtrl',['$scope','$location','$http',function($scope,$location,$http){
27-
$scope.login=function(){
27+
$scope.login = function(){
2828
var request = $http({
2929
method: "POST",
3030
url: URL+"login",
3131
data: {email: $scope.email, password: $scope.password}
3232
});
3333
request.success(function(data){
34-
var response= angular.fromJson(data);
34+
var response = angular.fromJson(data);
3535
if(response["error"]){
3636
$scope.validationMessage = response["message"][0];
3737
}

0 commit comments

Comments
 (0)