title: AngularJS, replacing hard-coded json with $http.get and rendering the result
body: <p>If I switch from the hard-coded items list in the following jsfiddle
   <a href="http://jsfiddle.net/rubyoma/bFJZK/" rel="nofollow">http://jsfiddle.net/rubyoma/bFJZK/</a>
  using a plain $http</p>
  
  <pre><code>$http.get('/mypath.json').then (response) =&gt;
    response.data)
  </code></pre>
  
  <p>The data is async and come back after the table is rendered. I don't need to listen for changes, all needed is the json and search/sort client side (as it works right now). How would you make this work with the http get? </p>
  
  <p>Post-accept EDIT: For tables I'd check out <a href="http://lorenzofox3.github.io/smart-table-website" rel="nofollow">http://lorenzofox3.github.io/smart-table-website</a> too</p>