Solved
Including js file from resources
Hi,
I have a *.js file with functions that I will call from home.js. I uploaded the js file into the resources. How can I include this js file, so that I can call the functions?
Hi,
I have a *.js file with functions that I will call from home.js. I uploaded the js file into the resources. How can I include this js file, so that I can call the functions?
There's a function for this:
$scope.app.fn.loadResourceScript("Uploaded/adapter-latest.js");
Just replace "adapter-latest.js" with your JS file name, and Bob's your uncle.
--Clay
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.