Having trouble with the ng-click function in AngularJS when using the following HTML code:
<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>
In my controller, the "go" function currently looks like this:
$scope.go = function (hash) {
console.log("hi")
};