The syntax to send parameter is like a function - enclosed them in braces test({..})
<div class="checkbox" ng-repeat="test in tests">
<a ui-sref="test({id: test._id})"><pre>{{test._id}}</pre></a>
</div>
Similar issue: Dynamically constructed ui-sref attribute in ui-router