title: angularjs digest issue and lack of understanding
body: <p>I am using angular for client side and codeigniter php for backend and for rest server. When I turn on basic auth on rest server I can reach to data from client side in this way:</p>
  
  <pre><code>            method: 'GET',
              url: 'http://localhost/myDomain',
              headers: {"Authorization": "Basic " + btoa("username:password")}
  </code></pre>
  
  <p>But when I turn on digest I can't just change Basic to Digest and reach to data. Does anyone know why?</p>
  
  <p>Thanks</p>