I am looking to create two tables with identical record structures. One table will serve as the Main table, while the other will act as an Archive. Each record is represented by bootstrap divs with col-sm-x structure containing details such as {{rec.Name}} and {{rec.Age}}. I have created a tablerecord.html template from the record content and intend to utilize it in two separate ng-repeat functions to construct the tables.
<div> ng-repeat="rec in MainTable"><record_template/></div>
and
<div> ng-repeat="rec in Archiv""><record_template/></div>
To load the record template, I am using an angular directive called "recordTemplate". Could you please advise on how to inject the "rec" variable into the record_template?
Thank you in advance.