CF11 Application.cfc with AngularJS
I am using ColdFusion as my backend for an AngularJS application. I need my Application.cfc to run in order for my authentication module to run. However, because I do not have any .cfm files, it does not run on request. The files in the root of my folder are all of the application folders (controllers/, styles/, views/, etc.). Also at the root is my index.html which kicks off the angular application as well as Application.cfc. I want Application.cfc to run as soon as the application is accessed. Is there any way to do this, or will I need to make an API call to Application.cfc from a controller/service to kick it off? |
