This is a very basic example on how to use Angular JS to connect to ElasticSearch