Http get con la validación de contraseña de bucle no funciona

$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