Hi, how to get object or object id from list

Hi, how to get object or object id from list in controller to make new request by id

for example I have

div class="list">
  <a href="#menu/userProfile" class="item item-thumbnail-left"  ng-repeat="favorite in   favorites" value="   {{favorite.id}}">
</div>  

Thanks, bgjoin