title: Accessing Session values in Angular.js
body: <p>I am unable to access the session values which is set by node.js in Angular.js controller. I am using the Express framework. How to resolve it? Here is my code.</p>
  
  <pre><code>app.use(express.cookieParser());
  app.use(express.session({
      secret: '1234567890QWERTY',
      cookie: { httpOnly: false }
       }));
  //setting the values
  cookies.set('username',username);
  req.session.username=username;
  </code></pre>