Simple to-do list, but with a delete button on list page for each item:
Relevant template HTML:
10条回答 孤街浪徒 (楼主) 2020-11-27 09:35 You can also use this $scope.persons = $filter('filter')($scope.persons , { id: ('!' + person.id) }); 0 讨论(0) 查看其它10个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
You can also use this
$scope.persons = $filter('filter')($scope.persons , { id: ('!' + person.id) });