I am in the process of migrating an existing Laravel (and jQuery) application to Angular/Laravel.
Here is a snippet from my code:
<td>{{ Person::byId($record->id) }}</td>
During my iteration, I called a function to retrieve a name based on the id. I understand that I will need to use a filter in Angular to achieve this behavior.
If I have already set up an API endpoint to handle the ID and return the corresponding name, how can I configure my table below to utilize that filter?
<tr ng-repeat="record in records">
<td>{{record.id | filter for displaying name}}</td>
</tr>