Answer the question
In order to leave comments, you need to log in
Why is ng-click not working properly?
html
div(ng-repeat='data in user.moneySource')
img.change(src="images/control/settings.svg", ng-click="showSettings($event, 'money', '{{data.img}}', '{{data.name}}')")
$scope.showSettings = (event, block, img, name) ->
console.log img, name // {{data.img}}, {{data.name}}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question