I know that Angular is rendered client side, and PHP is a server side script but is there any way I can combine the two - it's all very new for me.
For example, this angular response works just fine.
<li ng-repeat="data in filtered = (list | filter:search | orderBy : predicate :reverse) | startFrom:(currentPage-1)*entryLimit | limitTo:entryLimit" data-name="{{data.customerName}}" class="myli">
<strong>{{data.customerName}}</strong><br />
{{data.addressLine1}}, {{data.city}}, {{data.state}}, {{data.postalCode}}, {{data.country}}<br />
<code>{{data.creditLimit}}</code>
</li>
But what if I wanted to add some PHP logic into it, is there a way I can go about doing this? I appreciate there are javascript equivalents I can use for many features (case:select etc). but not for md5 for example. One of my aims is to load a gravatar image in the resulting li.
<li ng-repeat="data in filtered = (list | filter:search | orderBy : predicate :reverse) | startFrom:(currentPage-1)*entryLimit | limitTo:entryLimit" data-name="{{data.customerName}}" class="myli">
<strong>{{data.customerName}}</strong><br />
{{data.addressLine1}}, {{data.city}}, {{data.state}}, {{data.postalCode}}, {{data.country}}<br />
<code>{{data.creditLimit}}</code>
<?php if("{{data.creditLimit}}" >= 1000){ // Do Something } ?>
</li>