I'm trying to show some details about a list of procedures using an AngularJS function. Every procedure is identified by a unique ID so I use it as a parameter in the function.
If I use this line of code it works
<a ng-click="showDetails(1)">Show Details</a>
While using this one it doesn't work
<a ng-click="showDetails({{1}})">Show Details</a>
Shouldn't everything inside double braces be solved?
EDIT: seems obvious but, given the comments, it isn't...
This is an example to understand why argument isn't fine this way, in my production version I need to perform much advanced calculations that writing 1...