Guest User

Untitled

a guest
Nov 23rd, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. function listData (){
  2. $http.get('/api/Invoices?')
  3. .then(function(data){
  4. $scope.list = data.data.Response;
  5. });
  6. }
  7.  
  8. <tr ng-repeat="info in list">
  9. <th>{{info.Id}}</th>
  10. <th>{{info.Name}}</a></th>
  11. <th>{{info.value}}</th>
  12. <th>{{info.FiscalFolio}}</th>
  13. </tr>
  14.  
  15. function listData (){
  16. $http.get('/api/Invoices?')
  17. .then(function(data){
  18. $scope.list = data.data.Response;
  19.  
  20. var pool = $scope.list;
  21.  
  22.  
  23.  
  24. var ajax = pool.filter(function(xavier){
  25. return xavier.StatusId === 1;
  26.  
  27. });
  28.  
  29. });
  30.  
  31. }
Add Comment
Please, Sign In to add comment