how can i convert the variables in ajax.
<li ng-repeat="item in newsItems | filter:q" style="background-color: white;">
{{item}}</br>
{{item}} displays data in the browser. but i want to transfer this item data to the scala side. the one with the @, because i need the item in:
@form(routes.Application.newItem({{item}})){....}
whenever i run this. it displays.
item not found.
what i want is a step or anything to convert this ajax data to the scala side variable.