我們可以透過ng-repeat指令,從陣列中取出每一個item的內容。 ... 在欲顯示的html標籤中,加上ng-repeat。 ... $index –{number} –取出陣列中的index。(從0開始)
確定! 回上一頁