title: ng-View not working in AngularJS
body: <p>I am very new in angular JS and ng-view is not working.</p>
  
  <p>Below is code of AngularFormsApp.js</p>
  
  <pre><code>var angularFormsApp = angular.module('angularFormsApp', ["ngRoute"]);
  
  angularFormsApp.config(function ($routeProvider) {
  $routeProvider
  .when("/home", {
      templateUrl: "app/Home.html",
      controller: "HomeController"
  
  })
  .when("/newEOIForm", {
  
      templateUrl: "app/EOIForm/eoifTemplate.html",
      controller: "eoifController"
  
  })
  .otherwise({
  
      redirectTo: "/Home"
  });
  });
  
  angularFormsApp.controller("HomeController",
  function ($scope, $location) {
      $scope.addNewEOI = function () {
          $location.path('/newEOIForm');
  
      };
  });
  </code></pre>
  
  <p>Below is html code.</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/EOIForm/eoifController.js"&gt;&lt;/script&gt;
  &lt;script src="app/EOIForm/eoifDirective.js"&gt;&lt;/script&gt;
  &lt;script src="app/EOIForm/eoifService.js"&gt;&lt;/script&gt;
  
  
  &lt;/head&gt;
   &lt;body ng-controller="eoifController" class="container"&gt;
  
  &lt;div class="container"&gt;
  &lt;div class="row"&gt;
  &lt;div class="col-sm-12"&gt;
    &lt;div class="nav"&gt;
      &lt;a href="#home" class="button"&gt;Home&lt;/a&gt;
      &lt;a href="#about" class="button"&gt;About&lt;/a&gt;
      &lt;a href="#detail" class="button"&gt;Detail&lt;/a&gt;
     &lt;/div&gt;
     &lt;/div&gt;
     &lt;/div&gt;
     &lt;/div&gt;
  
    &lt;div class="container"&gt;
     &lt;div ng-view=""&gt;&lt;/div&gt;
    &lt;/div&gt;
  
    &lt;/body&gt;
    &lt;/html&gt;
  </code></pre>
  
  <p>Below is my root structure.</p>
  
  <p><a href="https://i.stack.imgur.com/dmZhr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dmZhr.png" alt="enter image description here"></a></p>
  
  <p>Why ng-view is not working, also I am not able to debug the code.</p>