title: CORS issue with PHP (Yii2) AngularJS
body: <p>Keep getting the cors issue.
  Have already tried the following:</p>
  
  <ol>
  <li>adding code you can see in the image in yii2 </li>
  <li>have installed the Cors Plugin in firefox</li>
  </ol>
  
  <p>API URL : <a href="http://thisisbig.ae/advanced/backend/web/customersapi/update/?id=2" rel="nofollow noreferrer">http://thisisbig.ae/advanced/backend/web/customersapi/update/?id=2</a></p>
  
  <p><a href="https://i.stack.imgur.com/28zZQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/28zZQ.png" alt="enter image description here"></a></p>