title: Using angular2 in a Spring webapp WITHOUT node.js
body: <p>I just made the move from Angular 1 to 2, and now I am going to create a spring mvc maven webapp with angular2 for the front-end side of it.</p>
  
  <p>But everywhere on the internet I see people using node.js for the necessary libraries &amp; plugins. Is there a way I can just use maven dependencies for this?</p>
  
  <p><strong>App structure:</strong></p>
  
  <pre><code>_ main
     _ java
     _ resources
     _ webapp
         _ components
              _ app.component.ts
         _ img
         _ WEB-INF
         _ index.html
         _ main.ts
  </code></pre>
  
  <p><strong>main.ts</strong></p>
  
  <pre><code>//getting an error on the bootstrap import 
  //because the angular2 folders aren't there because there is no node
  import {bootstrap} from 'angular2/platform/browser'
  
  import {AppComponent} from './components/app.component.ts'
  
  bootstrap(AppComponent);
  </code></pre>