Rome2Rio Search API implementation in AngularJS