1
我應該在哪裏放置ng-repeat
指令和{{expression}}
以獲取從1到7的數字,在<td>
中正確(我已經手動放置它們)代碼:正確的將AngularJS ng-repeat和表達式放置在引導表中
`<h1> January 2017 </h1>
<table class="table table-bordered">
<tr class="active">
<th> # </th>
<th> Sunday </th>
<th> Monday </th>
<th> Tuesday </th>
<th> Wednesday </th>
<th> Thursday </th>
<th> Friday </th>
<th> Saturday </th>
</tr>
<tr class="other">
<th class="active"> 1 </th>
<td> 1 </td>
<td> 2 </td>
<td> 3 </td>
<td> 4 </td>
<td> 5 </td>
<td> 6 </td>
<td> 7 </td>
</tr>
</table>`
它應該是這樣的 '
@ Hadi Jeddizahed它的工作。非常感謝您的幫助! – Rico11112016