>>>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 ?
Because it's part of ng-repeat and result is a temp variable in ng-repeat directive, not a scope variable.
If it's not broken, fix it until it is.
My Blog