BraveBeehive/LenderBee — pull request #49 by JonathanWarrick (2014-09-05 18:24:49+00:00)
Title: Working example of Front-End search returning actual response from database

**DO NOT MERGE THIS PULL REQUEST - EXAMPLE ONLY**

Here's an example of what I did on the util.js, services.js, searchbar.js, and routes.js to console.log out the results of a successful search. I added a few test items to my local database and everything seems to be working, minus the rendering on the searchresults view.

I think Collin was right, where the POST request should return a promise that can then be used by the searchresults controller, but I haven't quite figured it out yet.

Also, just ignore the changes to searchresults.js.

**AGAIN, DON'T MERGE THIS!!!**