title: AngularJS don't work on view page when references on ViewMasterPage
body: <p>I'm trying to use angularJS in an old asp.net mvc appication.</p>
  
  <p>This application uses a ViewMasterPage </p>
  
  <p>If I load the angularjs reference in the viewpage, it works just fine:</p>
  
  <pre><code>&lt;%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage&lt;dynamic&gt;" %&gt;
  
  &lt;%: Scripts.Render("~/bundles/ng") %&gt;
  
  &lt;!DOCTYPE html&gt;
  
  &lt;html&gt;
  
  &lt;head&gt;
  &lt;title&gt;&lt;/title&gt;    
  &lt;/head&gt;
  
  &lt;div ng-app=""&gt;
  
      &lt;p&gt;{{ "Hello" + " World" }}&lt;/p&gt;
      &lt;p&gt;{{ 2 + 4 }}&lt;/p&gt;
  
  &lt;/div&gt;
  
  &lt;/script&gt;
  
  &lt;/html&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/juHFl.png" rel="nofollow noreferrer">OUTPUT ANGULAR OK</a></p>
  
  <p>but when I try lo load the reference to angular JS in the view master page, it doesnt work.</p>
  
  <pre><code>&lt;script src="&lt;%= Url.Content("~/Scripts/jquery-1.8.2.js") +"?"+ version %&gt;" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="&lt;%= Url.Content("~/Scripts/jquery-ui-1.9.1.js") +"?"+ version %&gt;" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="&lt;%= Url.Content("~/Scripts/json2.min.js") +"?" + version%&gt;" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="&lt;%= Url.Content("~/Scripts/angular.js") +"?"+ version %&gt;" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I know for sure, that is loading the script file, because if I load in both viewmasterpage and viewpage I'm getting this error:</p>
  
  <p>WARNING: Tried to load angular more than once.</p>
  
  <p>Please help me.</p>
  
  <p>Thank you in advance.</p>