Stack Overflow display specific users

by spencerooni

HTML

<div ng-app="jeremy" ng-controller="JeremyController as jeremyCtrl">

  <div ng-repeat="user in jeremyCtrl.response.data.items">

{{ user.display_name }}
    <img src="{{ user.profile_image }}" />
    
    <div>
    <table>
    <tr>
      <th>
        gold
      </th>
       <th>
        silver
      </th>
       <th>
        bronze
      </th>
    </tr>
    <tr>
      <td>{{ user.badge_counts.gold }}</td>
      <td>{{ user.badge_counts.silver }}</td>
      <td>{{ user.badge_counts.bronze }}</td>
    </tr>
    </table>
    
    </div>
    
<hr>
  </div>

</div>

JavaScript

(function() {
  var app = angular.module('jeremy', []);

  app.controller('JeremyController', function($http) {
   
   var ctrl = this;
$http.get('https://api.stackexchange.com/2.2/users/121971;609176?order=desc&sort=reputation&site=stackoverflow').then(function(value) {
ctrl.users = value;
      ctrl.response = value;
    })
  });
})();




/*
    

*/