In the Demo API (included within our single-user/demo package in LAC 5.0), there are two resources:
1. CustomerOrders_JS_SubResource - table-based resource with another JavaScript subresource (which in the case, connects to a data source as well, but this could apply to calling another external API)
2. CustomerOrders_JS_Totally - Javascript resource, demonstrating how you could combine the two API responses.
Hope this helps.