title: Passing parameters using Window.location.href
body: <p>hope you fine and well,</p>
  
  <p>how i can pass more than one parameter using window.location.href </p>
  
  <p>i have the following code:</p>
  
  <pre><code>    $id = $scope.x.id ;
      $Name=$scope.x.Name;
      $window.location.href = '/myfiles/test.php?id=' + $id ;
  </code></pre>
  
  <p>i can pass the variable id and receive it successfully in test.php page, but how i can pass Name also ?! what is the right syntax ?!</p>
  
  <p>regards.</p>