renamed search-view.html to index.html
revised controllers.js to use the API