I'm using angular-foundation tabset and need to have a few tabs with the same structure. Say the repeating content is only used in this template so I don't want to create a new file for it, while it's a bit too much for me to feel comfortable about copy&paste.
I'm wondering if it's possible to have the "subtemplate" within the same file? How could I do it?
Below is a pseudo code showing what I want to achieve:
<!-- subtemplate parts -->
<toInclude name="workerTable">
<tr ng-repeat="worker in workers">
<td>{{worker.name}}</td><td>{{worker.id}}</td>...
</tr>
</toInclude>
<!-- end of subtemplate parts -->
<tabset>
<tab title="IT department" select="workers = itWorkers">
<include src="workerTable"></include>
...stuff for IT workers only...
</tab>
<tab title="Sales department" select="workers = salesWorkers">
<include src="workerTable"></include>
...stuff for sales workers only...
</tab>
....
</tabset>