title: How can I get HTML element value inside Angular JS conroller while the page is getting loaded
body: <p>Let me tel the scenario where I am stuck, I will try to explain simply rather than telling the actual.</p>
  
  <p>1st : I am on page 1. Where few subjects are there with unique names.
  2nd : I will click on one subject, which will call an struts2 action (lets call it ActionA)at back end with the unique subject name as a request parameter(Request type = GET).
  3rd : Action A will only redirect to "Tutorial page".
  4th : While loading it will make an AJAX call to another Struts2 action (lets call it ActionB), which will return JSON containing tutorials for that Subject.</p>
  
  <p><strong>Problem:</strong> As I am calling ActionA first and passing the subject name which is just redirecting the page to some other page. On page load I am calling another action to get the JSON. I am not able to get the request parameter value at ActionB that is the one which is returning JSON.</p>
  
  <p><strong>Note:</strong> I am using Struts2-JSON plugin thats why not need two actions, one for redirecting the page another for getting the JSON at page load.</p>
  
  <p>Solution tried: I have tried to get the request parameter value that is the Subject name, putting a hidden field in the Tutorial page. But unable to get the value from inside the Angular JS controller. </p>