每个记录上的Angularjs单击打开新页面
这是我的angularjs表和响应每个记录上的Angularjs单击打开新页面,angularjs,Angularjs,这是我的angularjs表和响应 <table class="table myCustomTable"> <thead> <tr> <th>Name</th> <th>Answer</th> </tr> </thead> <tbody> <tr ng-repeat="intends in data | filter: searchKeyw
<table class="table myCustomTable">
<thead>
<tr>
<th>Name</th>
<th>Answer</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="intends in data | filter: searchKeyword">
<td><a href="#/intents/{{intends.id}}">{{intends.name}}</a></td>
<td>{{intends.answer}}</td>
</tr>
</tbody>
</table>
名称
答复
{{打算.回答}
单击“名称”,我想重定向到该页面的一个页面
我想知道有关该id的详细信息,请使用RouterLink指令,它允许您链接到应用程序的特定部分。有关更多详细信息,请参阅本文档。您能具体说明这些“详细信息”吗?你想做什么?@我的测试,你在用ui路由器导航吗?如果是,您可以使用“ui sref”属性并将超链接元素的目标设置为_blank。