title: angular with html for get value from db using $http.get in angular
body: <p>I need to pass my php value(id) to via angular another php (select.php)
  this is my angular code:</p>
  
  <pre><code>$http.get("select.php",{'id':stu_id}).success(function(data)
  {
  $scope.pagesdata=data;
  })
  </code></pre>
  
  <p>please tell me this is correct code or not...</p>