title: How to include script bundle in scripts section in view
body: <p>I have a layout with an <code>@RenderSection("scripts")</code> section and I have a bundle that would need to be included in this section for <em>some</em> views. I thought that just doing this in the view would work, but it's not rendering the scripts.</p>
  
  <pre><code>@section scripts {
      @Scripts.Render("~/bundles/myBundle")  
  }
  </code></pre>
  
  <p><strong>In my view, how can I include a bundle to the scripts section?</strong></p>
  
  <p>Layout</p>
  
  <pre><code>@Scripts.Render("~/bundles/jquery", "~/bundles/scripts")
  @RenderSection("scripts", required: false)
  </code></pre>
  
  <p>View</p>
  
  <pre><code>@section scripts {
      @Scripts.Render("~/bundles/movie")  
  }
  </code></pre>