Thanks Robert for the detailed reply, that really solved my puzzle.. Thanks 
again

On Wednesday, June 3, 2015 at 9:32:35 PM UTC+5:30, Robert STAICU wrote:
>
> To be more clear.
>
> // Your controller
>  $scope.members = [
>  {'id':1,'name':'Azeeb'},
>  {'id':2,'name':'Vijeesh'},
>  {'id':3,'name':'Rohit'},
>  {'id':4,'name':'Vishal'},
>  {'id':5,'name':'Akhil'},
>  {'id':6,'name':'Gireesh'}
>  ]};
> $scope.showExpenses = function(){
>   $scope.members.forEach(function(member){
>     console.log(member.spentMoney) // Here you can sum them or do 
> whatever you want...Sorry for late response
>   });
>   
> }
>
> // Your html
>   
> <bla bla bla>
>   <td ng-repeat="member in members">
>     <div class="input-group">
>       <span class="input-group-addon">{{member.name}}</span>
>       <input ng-model="member['spentMoney']" class="form-control 
> input-sm" type="number" />
>     </div>
>   </td>
> </bla bla bla>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to