How can I pass a calculated string to a function in AngularJS ?
Here's the code that I have:
<div ng-click="wos.wordFormRowClicked(wf)"
ng-form="wos.wordFormNgForm_{{wf.wordFormIdentity}}"
ng-repeat="wf in wos.word.wordForms">
<div>
<div ng-click="wos.wordFormDefinitionRowClicked(d)"
ng-repeat="d in wf.wordDefinitions">
<div>
<span ng-click="wos.wordFormDeleteDefinition("wos.wordFormNgForm_{{wf.wordFormIdentity}}", wf.wordFormId, d.wordDefinitionId)"
></span>
</div>
I'm trying to pass a string as the 1st parameter of the function wos.wordFormDeleteDefinition but it is giving me a run time error. How can I do this?