I am calling a function from below:-
<a href="#" ng-click="editExpense('{{expense.Expense.id}}')">Edit</a>
In inspect element i am getting the id is '12'. but in function below:-
$scope.editExpense = function(id){
alert(id);
}
Id is showing "expense.Expense.id".Then How can i pass the parameter. Is there any other way to call a function with angular js variables value.