title: How to assign value of AngularJS variable to PHP variable
body: <p>After storing the value in PHP variable and trying to apply the condition check
  but I'm not able to do so.</p>
  
  <pre><code>&lt;div ng-repeat="item in items track by $index"&gt;      
  &lt;?php
      $index= '{{$index}}';
      var_dump($index);
  
      if ($index==="1" || $index=="1") {
          echo $index;
          # code...
      }
  ?&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Do you have a solution?</p>