title: Angular Js Routing Google Chrome Issue
body: <p>Worked on basic routing in angular Js with Code1 mentioned below and getting "<strong>XMLHttpRequest cannot load Cross origin requests are only supported for protocol schemes: http, data,      chrome-extension, https, chrome-extension-resource</strong>" error and founded that we must use local web server to resolve the same and downloaded MAMP and kept my html[login.html] in htdocs folder started the server and replaced templateUrl with [localhostURL/AngularJs/login.html'] as mentioned in Code2 and getting error of <strong>Error: [$sce:insecurl]</strong> exact  error are given below, Guide me with any solution to fix the same in Google Chrome...</p>
  
  <p><strong>Code 1</strong>    </p>
  
  <p><strong>index.html</strong></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
   &lt;html&gt;
      &lt;head&gt;
      &lt;title&gt;Test&lt;/title&gt;
      &lt;/head&gt;
      &lt;body ng-app="plunker"&gt;
      &lt;div ng-view=""&gt;&lt;/div&gt;    
      &lt;script src="angular.min.js"&gt;&lt;/script&gt;
      &lt;script src="angular-route.js"&gt;&lt;/script&gt;
      &lt;script src="app.js"&gt;&lt;/script&gt;  
     &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p><strong>app.js</strong></p>
  
  <pre><code>  var app = angular.module('plunker', ['ngRoute']);
    app.config(function ($routeProvider) {
    $routeProvider.when('/login',{
          controller: '',
          templateUrl: 'login.html'
      }).otherwise({ 
          redirectTo: '/login' 
      });
   });
  </code></pre>
  
  <p><strong>login.html</strong></p>
  
  <pre><code>   Hello from login! 
  </code></pre>
  
  <p><strong>Code2</strong> </p>
  
  <p>All other thing are same with changes only in app.js </p>
  
  <pre><code>   var app = angular.module('plunker', ['ngRoute']);
     app.config(function ($routeProvider) {
     $routeProvider.when('/login',{
          controller: '',
          templateUrl: 'http://localhost:8888/AngularJs/login.html'
      }).otherwise({ 
          redirectTo: '/login' 
      });
  });
  </code></pre>
  
  <p><strong>Error Code1</strong>:-
  <code>XMLHttpRequest cannot load file://localhost/Users/karthicklove/Documents/Aptana%20Studio%203%20Workspace/Object_Javascript/Angular_Js/Routing/login.html. Cross origin requests are only supported for protocol schemes: http, data, chrome-extension, https, chrome-extension-resource.</code></p>
  
  <p><strong>Error Code2</strong>:- [$sce:insecurl] <a href="http://errors.angularjs.org/1.2.26/" rel="nofollow noreferrer">http://errors.angularjs.org/1.2.26/</a>$sce/insecurl?p0=http%3A%2F%2Flocalhost%3A8888%2FAngularJs%2Flogin.html at Error (native)</p>