title: AngularJS : asp.net MVC View as Dashboard Widget
body: <p>New to Angular.js, We have a asp.net MVC 4 View that uses Angular. It can directly be accessed from localHost/Controller/View URL. The view works fine but I am working on adding a new dashboard. For the dashboard I have created a (brand new) partial page in MVC.</p>
  
  <p>And now, I am trying to display the same page appear on dashboard within a div by using (Razor) :</p>
  
  <pre><code>@{Html.RenderAction("Index", "CustomerController");} 
  </code></pre>
  
  <p>but I'm getting an error that reads :</p>
  
  <pre><code>Error: [ng:areq] Argument 'CustomerNgController' is not a function, got undefined
  </code></pre>
  
  <p>I did make sure that I am adding a reference to Angular &amp; the .js file that contains the controller above. Still can not figureout the cause for the error.</p>