title: Using ng-include result in undefined
body: <p>Hi I am fairly new to angular and i have just started my first app with it.Here is what I have done so far.This is my index file:</p>
  
  <pre><code>    &lt;body ng-app="codeArt"&gt;
  &lt;div ng-controller="loginCtrl"&gt;
      &lt;ng-include src="/App/scripts/login/login.html"&gt;&lt;/ng-include&gt;
  &lt;/div&gt;
  
  &lt;!-------------- Angular Libs ----------------------&gt;
  &lt;script src="/App/libs/angular/angular.js"&gt;&lt;/script&gt;
  
  &lt;!--------------- Code Art Main Module --------------&gt;
  &lt;script src="/App/scripts/codeArt.js"&gt;&lt;/script&gt;
  
  &lt;!--------------- Code Art Login Module --------------&gt;
  &lt;script src="/App/scripts/login/login.js"&gt;&lt;/script&gt;
  
  &lt;/body&gt;
  </code></pre>
  
  <p>The index file is stored in Views/Home/Index.cshtml. This will be the only file stored here and it is needed because I used ASP.NET MVC.</p>
  
  <p>I defined my main module in App/scripts/codeArt.js:</p>
  
  <pre><code>var codeArt = angular.module("codeArt", [
      'codeArt.login'
  ]);
  </code></pre>
  
  <p>I then created an aditional module that will contain functionalities related to login and registration App/scripts/login/login.js</p>
  
  <pre><code>var login =  angular.module('codeArt.login', [])
  </code></pre>
  
  <p>I defined a controller in App/scripts/login/controllers/loginCtrl.js:</p>
  
  <pre><code> login.controller('loginCtrl', function($scope){
     $scope.name = "Nistor Alexandru";
     $scope.clicked = function(){
         alert("I was clicked");
     }
  });
  </code></pre>
  
  <p>I also defined the main view for the login page in App/scripts/login/login.html and it lookslike this:</p>
  
  <pre><code>&lt;section&gt;
      &lt;div&gt;{{name}}&lt;/div&gt;
      &lt;button ng-click="clicked()"&gt;Clicked Alert!&lt;/button&gt;
  &lt;/section&gt;
  </code></pre>
  
  <p>As it can be seen from my index.cshtml file I tryed using the ng-include to load the login.html file.For some reason when I run the app I can only find a comment that says ng-include: undefined and the html is not loaded.</p>
  
  <p>I wil be integrating routing at some point but for now I want to understand why this is not working correctly?</p>
  
  <p>I have also tryed this path ../../App/scripts/login/login.html asuming it will lok for files relaive to index.cshtml file but that was not the case.</p>