title: Simple AngularJS app not working in IE
body: <p>I have a very simple Angular application that works as expected in Firefox and Chrome, but does not work in IE.</p>
  
  <p>index.html is like this:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html ng-app="angularFormsApp"&gt;
  &lt;head&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;link href="Content/bootstrap.min.css" rel="stylesheet" /&gt;
      &lt;script src="Scripts/angular.min.js"&gt;&lt;/script&gt;
      &lt;script src="Scripts/angular-route.min.js"&gt;&lt;/script&gt;
      &lt;script src="app/AngularFormsApp.js"&gt;&lt;/script&gt;
      &lt;script src="app/EmployeeForm/efController.js"&gt;&lt;/script&gt;
      &lt;script src="app/EmployeeForm/efDirective.js"&gt;&lt;/script&gt;
      &lt;script src="app/EmployeeForm/efService.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body ng-controller="efController" class="container"&gt;
      &lt;h1&gt;Start Page&lt;/h1&gt;
      &lt;div ng-view&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>my AngularFormsApp.js is defined like this:</p>
  
  <pre><code>var angularFormsApp = angular.module('angularFormsApp', ["ngRoute"]);
  
  angularFormsApp.config(function ($routeProvider) {
     $routeProvider
         .when("/home", {
            templateUrl: "app/Home.html",
            controller: "HomeController"
         })
         .when("/newEmployeeForm", {
            templateUrl: "app/EmployeeForm/efTemplate.html",
            controller: "efController"
         })
         .otherwise({
            redirectTo: "/home"
         });
  });
  
  angularFormsApp.controller("HomeController",
      function ($scope, $location) {
         $scope.addNewEmployee = function () {
            $location.path('/newEmployeeForm');
         };
  
      });
  </code></pre>
  
  <p>my Home.html only contains a button:</p>
  
  <pre><code>&lt;input type="button" class="btn btn-primary" value="Add New Employee" ng-click="addNewEmployee()" /&gt;
  </code></pre>
  
  <p>Upon starting the application up, index.html should redirect to </p>
  
  <pre><code>http://localhost:65294/index.html#/home
  </code></pre>
  
  <p>and I should see the "Add New Employee" button which I see in Chrome and Firefox, but not in IE. When I start the application in IE, the URL displayed is </p>
  
  <pre><code>http://localhost:65294/index.html
  </code></pre>
  
  <p>and I do not see the button. So it seams as though the redirect does not work, but only in IE. Even if I type the correct URL in the browser's address bar, I still don't see the button.</p>
  
  <p>So what's different for IE?</p>