>I corrected the syntax. All seems to be working now.
>
>>Hi everybody,
>>
>>I'm re-working the User Story I completed previous sprint into tables rather than ng-grid.
>>
>>I have the following code which is syntactically wrong:
>>
>>
>><a href="javascript:void(0);"><span ng-click="drillDown({{result.invoiceNo}})">{{result.invoiceNo}}</span></a>
>>
>>I need to correct the part of span ng-click and I am not exactly sure of the correct syntax.
>>
>>Can you please help?
>>
>>Thanks in advance.
>>
>>UPDATE.
>>
>>I changed the code to use
>>
>>
>><a href="javascript:void(0);"><span ng-click="drillDown(result.invoiceNo)">{{result.invoiceNo}}</span></a>
>>
>>This didn't complain, I am testing now if that was the correct fix.
It looks as if 'drilldown()' is a $scope method and 'result.invoiceNo' is a property of $scope ?
If that is the case why are you bothering to pass it as a parameter ?