Is there a way to change a method called ng-click dynamically?
Something like that:
ng-click = "{{functionCalled}}"
and then declaring a function:
$scope.functionCalled = "callThisFunction(param)";
javascript angularjs data-binding single-page-application angularjs-ng-click
Footsieng
source share