153
rated 0 times
[
157]
[
4]
/ answers: 1 / hits: 78502
/ 11 Years ago, fri, march 8, 2013, 12:00:00
ng-click on the following HTML is not working for me in AngularJS
<tr ng-repeat=ai in alert_instances ng-click=go('/alert_instance/{{ai.alert_instancne_id}}')>
<td>{{ai.name}}</td>
<td>{{ai.desc}}</td>
</tr>
The go function in my controller at the moment just has
$scope.go = function (hash) {
console.log(hi)
};
More From » angularjs