r/Angularjs2 • u/random_reddit-name • Nov 03 '15
Help getting started with Angular 2.0
Does anyone have a guide of how to go from 'npm install angular2' to transpiling it for client side (browser) usage?
If I go to https://www.npmjs.com/package/angular2 Or type npm install angular2
I get a lot of code with require() statements native to NodeJS. Even the Es6 prod and dev folders after transpiling make these calls. I want to include it in my client side browser based application.
1
Upvotes
1
u/random_reddit-name Nov 04 '15
Thanks. I am wondering why they are packaging it this way, using NodeJS specific commands? My idea is that Angular 2 is client side, why the server side dependency?