Suppose my html looks like
<h2>Unapproved Users<span class="badge">12</span></h2>
<ul class="list-group" ng-repeat="user in unApprovedUsers">
<li class="list-group-item">{{user.Name}} <button class="btn btn-success" ng-click="ApproveUser({{user.ID}})">Approve</button></li>
</ul>
the problem is that approve user cannot be called while sending that argument so how can i send it to the function