我有使用Angular js的html代码:
<li ng-repeat="item in newsItems | filter:q">
{{item.posts}}</br>
by: {{item.pseudoname}}
<form name="edit" href="@routes.Application.deleteTask({{item.posts}})" method="get">
<input type="submit" value="Delete">
</form>
</li>
其中item是具有的对象。 item.posts,item.pseudoname和item.id.每当我运行代码item.posts和item.pseudoname显示在浏览器中,但找不到表单内的item.posts。中号
我的问题是如何在routes.Application.deleteTask中使用item.posts。因为这条路线需要item.posts?