title: Angularjs cross origin
body: <p>Got the following problem with angularjs 
  XMLHttpRequest cannot load file:... . Cross origin requests are only supported for HTTP
  My HTML:</p>
  
  <pre><code>&lt;!doctype html&gt;
  &lt;html lang="en" ng-app="app"&gt;
  &lt;head&gt;
      &lt;script src="angular.js"&gt;&lt;/script&gt;
      &lt;script src="angularr.js"&gt;&lt;/script&gt;
      &lt;script src="app.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
      &lt;body&gt;
          &lt;div ng-view&gt;&lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>And my app.js</p>
  
  <pre><code>'use strict';
  var app = angular.module("app", ['ngRoute'])
      .config(function  ($routeProvider) {
          $routeProvider.
              when("/", {templateUrl:"first.html"})
          });
  </code></pre>
  
  <p>What should I do?</p>