I am new to AngularJS
and I want to utilize ng-repeat
to display my records in td
elements under the record section.
{"Root":[{"Record":["documents.php","OSHA_lockout_regulation.pdf","LOTO_Matrix_2016.docx","LOTO_Log_2016.pdf","Sample_LOTO_policy.pdf","iLockitOut_Help.pdf","Employee_Training.pdf"]}]}
Can someone please explain how I can use ng-repeat
for displaying these records?
<tr ng-repeat="(key, list) in documentdetails">
<td>
<a class="link" target="_blank" href="../admin/views/documents/{{list.Record[1]}}">{{ list }}</a>
</td>
</tr>
I would appreciate any suggestions or advice.