Angular 2 is still in Release Candidate stage, please don't use this in production
Follow Angular 2 Changelog here
As this code was bootstraped using Angular 2 Starter, it is using the following modules:
- NPM for package manager
- TypeScript for the base language
- with Typings for TypeScript definition manager
- Gulp for workflow (from serve, watch, compile, test to build)
- Browsersync for development server & reload capability
- SystemJS for module loader
- Codelyzer for static code analyzer
- Karma for test-runner
- Jasmine for test framework
- Istanbul for test coverage
- with Remap Istanbul for remapping Javascript to TypeScript coverage
- SystemJS Builder or Webpack for module bundling in production
Firstly, you need to have Node.js
- For v4, please use v4.3.x (LTS) or higher (highly recommended)
- For v5, please use v5.6.x or higher, here is why
- Ready for v6
You need v4.x or higher for Protractor
Then, install these packages globally:
npm install -g gulp
After that, just run:
npm install
Let's start up the server, run:
gulp
or gulp serve-dev
and done! The browser will popup and you can start trying Angular 2! Every changes to the file will refresh the browser automatically and it'll also compile your changed TypeScripts files to Javascript files.
- Antony Budianto for his awesome Angular starter project (https://github.com/antonybudianto/angular2-starter)