I have the following problem.
I have also made a destination in the HANA Cloud Platform that points to this app.
The reason I want to use a destination is because by just using the jQuery.registerResourcePath() and sap.ui.define() methods I get a cross domain request error. Using a destination might be a solution as it acts as a proxy and allows one to avoid getting the cross origin request error.
I cannot just make a script tag in the index.html as when the App is deployed to the Fiori Launchpad I cannot manipulate an .html file to include the script tag and therefore do a get request to fetch the external resource.