Added headers at config.js
Use headers at $http to make a call to presto
Implemented recursive handler to presto rest api