Add solr proxy
Refactor solr proxy
Adapt to angularjs