title: angular GET request creates a cookie but "document.cookie" is an empty string
body: <p>What I am trying to do is to get a csrf token: </p>
  
  <pre><code>$http({method: 'GET', url: 'http://domain.com/auth'}).
  success(function(data, status, headers, config) {
       // ...
  })
  </code></pre>
  
  <p>Then I go to Chrome's cookie manager and its there:</p>
  
  <pre><code>Name:   csrftoken
  Content:    46DXQkAZf5LzKWwE7VPabZr4rfitVcqp
  Domain: domain.com
  Path:   /
  Send for:   Any kind of connection
  Accessible to script:   Yes
  Created:    Saturday, April 12, 2014 2:15:50 AM
  Expires:    Saturday, April 11, 2015 2:15:50 AM
  </code></pre>
  
  <p>But when I console "document.cookies" it returns an empty string...</p>
  
  <p>Any ideas?</p>