Is there a way to invoke a function using angularjs ng-click on a template that is rendered from a grails controller? I have tried, but the jQuery function call seems to work fine while the ng-click() function does not. What am I missing here? I'm really struggling with this.
This is my controller function:
$scope.editTasks = function(){
console.log("uu");
}
The code inside my rendered template table:
<button class="table-icon editIcon" ng-click="editTasks()" />