Http get с проверкой пароля не работает

$scope.loginValidator = function() {

    for(var i = 0; i < $scope.userList.length; i++) {

      if ($scope.usernameInput == $scope.userList[i].LoginName && $scope.passwordInput == $scope.userList[i].Password) {
        $scope.feedback = 'Login Successful';
        return true; 
      };
    };
SAMER SAEID