title: Sharepoint hosted app giving 403 Forbidden Error
body: <p>I am developing <strong>sharepoint hosted app</strong> and i am using rest api by angular.js or jquery.So I dont accept the app list give an error <strong>403 Forbidden</strong></p>
  
  <p>Rest call looks like</p>
  
  <pre><code>$http({
          method: "GET",
          url: appweburl + "/_api/SP.AppContextSite(@target)/web/lists/getbytitle('SurveyManager')/items?@target='" + hostweburl + "'",
          headers: {
              "accept": "application/json;odata=verbose",
              "content-type": "application/json;odata=verbose",
              "X-RequestDigest": angular.element(document.querySelector('#__REQUESTDIGEST')).val()
          }
      });
  </code></pre>
  
  <p>Response is</p>
  
  <pre><code>{
      "error": {
      "code": "-2147024891, System.UnauthorizedAccessException",
      "message": {
      "lang": "en-US",
      "value": "Access denied. You do not have permission to perform this action or access this resource."
           }
      }
  }
  </code></pre>