title: Getting cross-domain errors when using angularjs within flex (web control), and attempting to load templates/json (local files)
body: <p>Let me give you a bit of history on what I'm trying to do.</p>
  
  <p>I'm using a Flex application, as a container for a web app. So within this Flex app, it has a web controller, which loads a full fledged <code>Angularjs</code> application. All the files are stored locally within the Flex app.</p>
  
  <p>When I attempt to run it, it cannot load any of the templates; they are loaded using the $routeProvider, and data is pulled using the $http.get.</p>
  
  <p>The core problem is that it's not allowing me to pull local files using JavaScript, even though it's being run off the file-system (not using a web server). </p>
  
  <p>I also tested it on Chrome, and have the same exact issue - giving the following error.</p>
  
  <p><code>Origin null is not allowed by Access-Control-Allow-Origin.</code></p>
  
  <p>With Chrome, it can be fixed using <code>--allow-file-access-from-files</code>, but can't figure out how to get it working via the Flex/Flash web controller.</p>
  
  <p>Any help would be greatly appreciated.</p>