title: How to access Session value from Angularjs.?
body: <p>i wants to access session value from angular js.or set it in a text field.But its not working.</p>
  
  <pre><code>&lt;input type="text" id="uname" value="&lt;%=session.getAttribute("username")%&gt;" ng-model="username" readonly="readonly"&gt;
  </code></pre>
  
  <p>when i  set the value of normal text field its working, like </p>
  
  <pre><code>&lt;input type="text" id="uname" value="&lt;%=session.getAttribute("username")%&gt;"  readonly="readonly"&gt;
  </code></pre>
  
  <p>but after adding <code>ng-model</code> its not working.
  How i will do this?Please anybody help me. </p>