text: import Ember from 'ember';
  
  export default Ember.Route.extend({
    model(params) {
      var url = 'http://congress.api.sunlightfoundation.com/legislators/locate?per_page=400&apikey=817fa3b0cf4944cfb8d3729919c99c95&zip=' + params.zip;
      return Ember.$.getJSON(url).then(function(responseJSON) {
        return responseJSON.results;
      });
    }
  });
  