In the table, there is a data structure
<tr
ng-repeat="question in $data"
ng-include="'/views/partials/questionList.html'"></tr>
Within the questionList.html
file:
<td class="top-td" data-title="'ID'" sortable="'id'">
<a href="#" ng-click="loadQuestionModal(question.id)">
{{ question.id }}
</a>
</td>
<td class="top-td" data-title="'Question / Instruction'">
<h6 markdown-to-html="question.Instruction.instructionText"></h6>
<blockquote ng-show="k8englishSubject" markdown-to-html="question.questionText"></blockquote>
<blockquote markdown-to-html="question.questionText" mathjax-bind="question.questionText" ng-show="k8mathSubject"></blockquote>
</td>
<td class="top-td"><ng-include src="'/views/partials/answerList.html'"></ng-include></td>
<td class="top-td" ng-show="k8englishSubject">
<a ui-sref="passages.upsert({passageId: question.PassageId})" ng-show="question.PassageId">
{{ question.Passage.passageTitle }}
</a>
</td>
<td class="top-td" data-title="'Level'" sortable="'level'">{{ question.level }}</td>
Nevertheless, this format does not display any titles. On the contrary, if a standard tr
tag is used and the td
elements are placed within the same view, it functions properly.