-
Clone the AngularJS 2.0 source tree:
git clone https://github.com/angular/angular
-
inside the project directory, run
npm install
-
inside gulpfile.js, replace the 'build' task (near the end of the file) with the following one:
gulp.task('build', ['jsRuntime/build', 'modules/build.dev.js']);
This will remove all the Dart stuff from build (unless you want to install the Dart SDK)
-
run
gulp build
-
run
gulp serve
-
go to http://localhost:8000/js/examples/lib/hello_world/ and enjoy!
The sources for the example are in modules/examples/src/hello_world
. You need to re-run gulp build whenever you change them.
Don't forget to share your experiences with me :-)