I am adding SystemJS to my project but I still need to make use of some of the bundles I've defined in BundleConfig.cs. I want to import dependencies using SystemJS, but I can't render my own code until those dependencies are loaded.
Here's my cshtml file
<html lang="en" ng-app="app">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>My-App</title>
   @Scripts.Render("~/bundles/base") // SystemJS and polyfills
</head>
<body>
    <script>
       System.import("angular")
        .then(function () {
             // THIS IS WHERE I WOULD LIKE TO RENDER ANOTHER BUNDLE
          })
    </script>
<body>
</html>
Just shoving @Scripts.Render into the script block breaks the HTML script parsing -- because all that does is inject a bunch of script tags.
Please note that I am specifically looking for MVC cshtml solutions that will allow me to call my pre-defined bundles -- I'm hoping to avoid manually writing script imports for every file in my project.
 
    