I have a table in which the last column contains buttons that should open a new window but they don't. Here is my code:
<table class="table table-hover" id="angular_table">
<thead>
<tr>
<th class="company">Nome azienda <a ng-click="sort_by('company')"><i class="icon-sort"></i></a></th>
<th class="code">Codice <a ng-click="sort_by('code')"><i class="icon-sort"></i></a></th>
<th class="projectName">Nome progetto <a ng-click="sort_by('projectName')"><i class="icon-sort"></i></a></th>
<th class="recordType">Tipo di record <a ng-click="sort_by('recordType')"><i class="icon-sort"></i></a></th>
<th class="year">Anno <a ng-click="sort_by('year')"><i class="icon-sort"></i></a></th>
<th class="month">Mese <a ng-click="sort_by('month')"><i class="icon-sort"></i></a></th>
<th>Crea ricavo </th>
</tr>
</thead>
<tbody>
<tr ng-repeat="item in items | filter:query:checkEqual | orderBy:sortingOrder:reverse " id="lista">
<td>{{item.company}}</td>
<td >{{item.code}}</td>
<td style="text-align: -webkit-left;"> <a href="/{{item.id}}" target="_blank">{{item.projectName}}</a></td>
<td>{{item.recordType}}</td>
<td>{{item.year}}</td>
<td>{{item.month}}</td>
<td class="btnCrea"><button class="btn2 btn-default2" ng-click="window.open('/apex/creaRicavoM?id={{item.id}}','_blank','heigth=600,width=600')">Crea</button></td>
</tr>
</tbody>
</table>
Can someone help me? Thanks in advance!