有这样一个简单的循环ng-repeat: <li ng-repeat='task in tasks'> <p> {{task.name}} <button ng-click=""removeTask({{task.id}})"">remove</button>
確定! 回上一頁