title: How to read cookie from response headers in angular js?
body: <p>I set cookie in my node server using :</p>
  
  <pre><code>res.cookie('userValidation','true',{httpOnly: false, secure: false });
  </code></pre>
  
  <p>I want to access this cookie in angular js : 
  <a href="https://i.stack.imgur.com/DWTT5.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DWTT5.jpg" alt="enter image description here"></a></p>
  
  <p>How to access this cookie in angular js?
  I tried may time but i failed to read this. Anyone can give me a good way to solve this issue?</p>