title: how to get session or cookie value set in django, php, ruby in angular?
body: <p>I am trying to get a session and/or cookie value I set in django (although I don't see this being different across other languages like php or ruby).</p>
  <p>I am trying to get this value with the following angular:</p>
  <pre><code> var app = angular.module('edgeFeed', ['ngCookies']);
  
    app.controller('FeedController', function($http, $cookieStore) {
        self = this;
        
        console.log(sessionStorage.getItem('session_name'));
        console.log($cookieStore.get('cookie_name'));
  </code></pre>
  <p>In the console I get the output:</p>
  <blockquote>
  <p>null</p>
  <p>undefined</p>
  </blockquote>
  <p><strong>How can I get the session or cookie value in angular?</strong></p>