title: Integrating Angular 2 with Symfony 3
body: <p>I am trying to integrate Angular 2 with Symfony 3. I used npm to install node modules, however I can't link them from my view base base.html.twig. Indeed, every script I add doesn't work (not even in the source code of the page). </p>
  
  <p>The following scripts are required, how can I add them ? </p>
  
  <pre><code>&lt;!-- IE required polyfills, in this exact order --&gt;
  &lt;script src="../../node_modules/es6-shim/es6-shim.min.js"&gt;&lt;/script&gt;
  &lt;script src="../../node_modules/systemjs/dist/system-polyfills.js"&gt;&lt;/script&gt;
  &lt;script src="../../node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"&gt;&lt;/script&gt;
  
  &lt;script src="../../node_modules/angular2/bundles/angular2-polyfills.js"&gt;&lt;/script&gt;
  &lt;script src="../../node_modules/systemjs/dist/system.src.js"&gt;&lt;/script&gt;
  &lt;script src="../../node_modules/rxjs/bundles/Rx.js"&gt;&lt;/script&gt;
  &lt;script src="../../node_modules/angular2/bundles/angular2.dev.js"&gt;&lt;/script&gt;
  &lt;script&gt;
        System.config({
          packages: {
            app: {
              format: 'register',
              defaultExtension: 'js'
            }
          }
        });
        System.import('../components/main')
              .then(null, console.error.bind(console));
  &lt;/script&gt;
  </code></pre>