title: Express Session + Angular: can't access connect.sid cookie
body: <p>There is something I really don't understand here :</p>
  
  <p>I have express running on server-side, with session initialized.</p>
  
  <pre><code>app.use(express.session({
      secret: 'mySecret'
      })
  }));
  </code></pre>
  
  <p>As mentionned in this post <a href="https://stackoverflow.com/questions/4938525/confusion-over-session-ids-using-connect">Confusion over session IDs using Connect</a>, it sends a connect.sid cookie to any request.</p>
  
  <p>On the client-side, I want to read the content of this cookie, and it feels impossible :</p>
  
  <pre><code>angular.module('myApp.controllers', ['ngCookies','myApp.services'])
  .controller('homeCtrl', function($scope, $cookies) {
      $cookies['test']='myValue';
      console.log($cookies);
  });
  </code></pre>
  
  <p>When I run this, I get this object in the log : <code>Object {test: "myValue"}</code>, whereas if I go to ressources tab in Chrome debugger, I can see both cookies :</p>
  
  <p><img src="https://i.stack.imgur.com/HuwDJ.png" alt="Screenshot of Ressources tab in chrome debugger"></p>
  
  <p>What am I doing wrong ? </p>
  
  <p>Is it impossible to access server-made cookies from angular ?</p>
  
  <p>Thanks</p>